mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-01 02:42:03 +00:00
CPURL -description
This commit is contained in:
1 parent
98df1859af
commit
4f1d9fe836
2 files changed
+10
No files matched your search
@@ -152,6 +152,11 @@
|
||||
return [self scheme] === "file";
|
||||
}
|
||||
|
||||
- (CPString)description
|
||||
{
|
||||
return [self absoluteString];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation CPURL (CPCoding)
|
||||
|
||||
@@ -105,4 +105,9 @@ var exampleProtocol = "http",
|
||||
|
||||
}
|
||||
|
||||
- (void)testURLToString
|
||||
{
|
||||
[self assert:String([CPURL URLWithString:exampleURL]) equals:exampleURL];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user