mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
add test for relative data URL
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36100 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f021b1efe0
commit
56b55f6ce8
1 changed files with 4 additions and 0 deletions
|
@ -305,6 +305,10 @@ GSPathHandling("right");
|
|||
url = [NSURL URLWithString: @"data:,%2A"];
|
||||
PASS_EQUAL([url resourceSpecifier], @",%2A", "resourceSpecifier escape OK");
|
||||
|
||||
url = [NSURL URLWithString: @"http://here.and.there/testing/one.html"];
|
||||
rel = [NSURL URLWithString: @"data:,$2A" relativeToURL: url];
|
||||
PASS_EQUAL([rel absoluteString], @"data:,$2A", "relative data URL works");
|
||||
|
||||
[arp release]; arp = nil;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue