mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 19:15:27 -04:00
Correction of bug when compiling/testing on Windows: Issue537 file must be read as UTF-8 (Issue 745)
This commit is contained in:
parent
bae0b0dac9
commit
3dd8f2ecd5
@ -625,13 +625,10 @@ public class JSONObjectTest {
|
||||
assertTrue("expected h\be\tllo w\u1234orld!", "h\be\tllo w\u1234orld!".equals(jsonObject.query("/escapeStringKey")));
|
||||
assertTrue("expected 42", Integer.valueOf("42").equals(jsonObject.query("/intKey")));
|
||||
assertTrue("expected -23.45e7", Double.valueOf("-23.45e7").equals(jsonObject.query("/doubleKey")));
|
||||
<<<<<<< HEAD
|
||||
// sorry, mockito artifact
|
||||
assertTrue("expected 2 mockitoInterceptor items", ((Map<?,?>)(JsonPath.read(doc, "$.mockitoInterceptor"))).size() == 2);
|
||||
assertTrue("expected 0 mockitoInterceptor.serializationSupport items",
|
||||
((Map<?,?>)(JsonPath.read(doc, "$.mockitoInterceptor.serializationSupport"))).size() == 0);
|
||||
=======
|
||||
>>>>>>> 88968f3 (Updated mockito)
|
||||
Util.checkJSONObjectMaps(jsonObject);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user