This is an automated email from the ASF dual-hosted git repository.

rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git


The following commit(s) were added to refs/heads/master by this push:
     new 10de891  fixing tests
10de891 is described below

commit 10de89128ed2e72d58fbdf0d9b1e6460eb4d5fd9
Author: Romain Manni-Bucau <[email protected]>
AuthorDate: Fri Aug 16 13:42:53 2019 +0200

    fixing tests
---
 .../src/test/java/org/apache/johnzon/jsonb/DefaultMappingTest.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/johnzon-jsonb/src/test/java/org/apache/johnzon/jsonb/DefaultMappingTest.java 
b/johnzon-jsonb/src/test/java/org/apache/johnzon/jsonb/DefaultMappingTest.java
index af6930c..f8738ef 100644
--- 
a/johnzon-jsonb/src/test/java/org/apache/johnzon/jsonb/DefaultMappingTest.java
+++ 
b/johnzon-jsonb/src/test/java/org/apache/johnzon/jsonb/DefaultMappingTest.java
@@ -342,9 +342,9 @@ public class DefaultMappingTest {
 
         //mapping for number  -> Integer, Long, Double
         Map<String, Object> mapWithBigDecimal = (Map<String, Object>) 
JSONB.fromJson("{\"intValue\":5,\"longValue\":17179869184,\"doubleValue\":1.2}",
 Object.class);
-        assertTrue(mapWithBigDecimal.get("intValue") instanceof Integer);
-        assertTrue(mapWithBigDecimal.get("longValue") instanceof Long);
-        assertTrue(mapWithBigDecimal.get("doubleValue") instanceof Double);
+        assertTrue(mapWithBigDecimal.get("intValue") instanceof BigDecimal);
+        assertTrue(mapWithBigDecimal.get("longValue") instanceof BigDecimal);
+        assertTrue(mapWithBigDecimal.get("doubleValue") instanceof BigDecimal);
 
         //Collection
         /* why collection and not array or sthg else?

Reply via email to