mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 03:15:32 -04:00
Merge pull request #62 from erosb/master
testcase for stleary/JSON-java#292
This commit is contained in:
commit
df9c27c53f
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ build
|
||||
/gradlew.bat
|
||||
.gitmodules
|
||||
src/main/
|
||||
.idea
|
||||
|
@ -78,6 +78,11 @@ public class JSONPointerTest {
|
||||
assertSame(document.get("foo"), query("#/foo"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void uriFragmentNotationRoot() {
|
||||
assertSame(document, query("#"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void uriFragmentPercentHandling() {
|
||||
assertSame(document.get("c%d"), query("#/c%25d"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user