johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [johnzon] Neoklosch commented on a change in pull request #62: Added possibility to use minus as array index for the remove operation.
Date Thu, 26 Mar 2020 10:18:55 GMT
Neoklosch commented on a change in pull request #62: Added possibility to use minus as array
index for the remove operation.
URL: https://github.com/apache/johnzon/pull/62#discussion_r398459224
 
 

 ##########
 File path: johnzon-core/src/test/java/org/apache/johnzon/core/JsonPointerTest.java
 ##########
 @@ -456,6 +456,19 @@ public void testRemoveArrayElement() {
         assertEquals("[[\"bar\",\"baz\"]]", result.toString()); // [["bar","baz"]]
     }
 
+    @Test
+    public void testRemoveLastArrayElement() {
 
 Review comment:
   If I get your question correct, there is already a test for it: https://github.com/apache/johnzon/blob/d1c6a2f62ef0bb5a798161799eae4602e20a233e/johnzon-core/src/test/java/org/apache/johnzon/core/JsonPointerTest.java#L390-L396

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message