From 1611d35b04fd365c514f02660cfdb023fc28b905 Mon Sep 17 00:00:00 2001 From: Philippe Marschall Date: Sat, 14 Dec 2024 14:09:29 +0100 Subject: [PATCH] Fix compilation failes Fix compilation failures in JsonParserTests. --- .../test/java/org/eclipse/parsson/tests/JsonParserTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/impl/src/test/java/org/eclipse/parsson/tests/JsonParserTest.java b/impl/src/test/java/org/eclipse/parsson/tests/JsonParserTest.java index 822b763..7f4a1af 100644 --- a/impl/src/test/java/org/eclipse/parsson/tests/JsonParserTest.java +++ b/impl/src/test/java/org/eclipse/parsson/tests/JsonParserTest.java @@ -515,13 +515,13 @@ private void testGetValueStructure(JsonParser parser) { JsonValue value = parser.getValue(); Assertions.assertTrue(value instanceof JsonNumber); JsonNumber number = (JsonNumber) value; - assertEquals(number.longValueExact(), 1L); + Assertions.assertEquals(number.longValueExact(), 1L); Assertions.assertEquals(Event.VALUE_NUMBER, parser.next()); value = parser.getValue(); Assertions.assertTrue(value instanceof JsonNumber); number = (JsonNumber) value; - assertEquals(number.bigDecimalValue(), new BigDecimal("1.1")); + Assertions.assertEquals(number.bigDecimalValue(), new BigDecimal("1.1")); Assertions.assertEquals(Event.VALUE_TRUE, parser.next()); value = parser.getValue(); @@ -535,7 +535,7 @@ private void testGetValueStructure(JsonParser parser) { value = parser.getValue(); Assertions.assertTrue(value instanceof JsonString); JsonString string = (JsonString) value; - assertEquals("aString", string.getString()); + Assertions.assertEquals("aString", string.getString()); Assertions.assertEquals(Event.VALUE_NULL, parser.next()); value = parser.getValue();