Browse Source

Fetch the changes from remote

pull/1008/head
Vaibhav Ramchandani 6 months ago
parent
commit
fd5682b732
  1. 2
      json-path/src/test/java/com/jayway/jsonpath/internal/JsonFormatterTest.java

2
json-path/src/test/java/com/jayway/jsonpath/internal/JsonFormatterTest.java

@ -37,7 +37,7 @@ public class JsonFormatterTest {
// The expected output is the same JSON array with proper indentation
@Test
public void testPrettyPrint_JsonWithArray() {
//
JsonFormatter jsonFormatter = new JsonFormatter();
String input = "[{\"name\":\"Vaibhav R\",\"age\":23},{\"name\":\"Sanskar K\",\"age\":24}]";
String actualOutput=jsonFormatter.prettyPrint(input);

Loading…
Cancel
Save