Skip to content

Commit

Permalink
testcase for stleary/JSON-java#292 and adding .idea to .gitiignore
Browse files Browse the repository at this point in the history
  • Loading branch information
erosb committed Oct 5, 2016
1 parent 474711c commit 97e3d6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ build
/gradlew.bat
.gitmodules
src/main/
.idea
5 changes: 5 additions & 0 deletions src/test/java/org/json/junit/JSONPointerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ public void uriFragmentNotation() {
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"));
Expand Down

0 comments on commit 97e3d6c

Please sign in to comment.