mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 07:50:52 -07:00
Merge pull request #62 from erosb/master
testcase for stleary/JSON-java#292
This commit is contained in:
commit
df9c27c53f
2 changed files with 6 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue