CPURL -description

This commit is contained in:
Tom Robinson committed 2009-09-11 19:46:09 -07:00
1 parent 98df1859af
commit 4f1d9fe836
2 files changed
+10

No files matched your search

+5
View File
@@ -152,6 +152,11 @@
return [self scheme] === "file";
}
- (CPString)description
{
return [self absoluteString];
}
@end
@implementation CPURL (CPCoding)
+5
View File
@@ -105,4 +105,9 @@ var exampleProtocol = "http",
}
- (void)testURLToString
{
[self assert:String([CPURL URLWithString:exampleURL]) equals:exampleURL];
}
@end