Fixed a test; fixes gh-542
This commit is contained in:
@@ -14,6 +14,6 @@ public class JsonAssertTests {
|
|||||||
@Test
|
@Test
|
||||||
public void should_compare_big_decimals() {
|
public void should_compare_big_decimals() {
|
||||||
DocumentContext context = JsonPath.parse("{\"foo\": 55534673.56}");
|
DocumentContext context = JsonPath.parse("{\"foo\": 55534673.56}");
|
||||||
assertThatJson(context).field("['foo']").isEqualTo(55534673.57);
|
assertThatJson(context).field("['foo']").isEqualTo(55534673.56);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user