From 4265e1d3e01a9b6219968ead9aca71a7e3d221e4 Mon Sep 17 00:00:00 2001
From: Tatu Saloranta <tatu.saloranta@iki.fi>
Date: Tue, 12 May 2015 21:26:38 -0700
Subject: [PATCH] Unit test fix for #790

---
 .../java/com/fasterxml/jackson/databind/node/TestJsonNode.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/com/fasterxml/jackson/databind/node/TestJsonNode.java b/src/test/java/com/fasterxml/jackson/databind/node/TestJsonNode.java
index 6b7fe16a0e..94aa4afa0b 100644
--- a/src/test/java/com/fasterxml/jackson/databind/node/TestJsonNode.java
+++ b/src/test/java/com/fasterxml/jackson/databind/node/TestJsonNode.java
@@ -149,7 +149,7 @@ public int compare(JsonNode o1, JsonNode o2) {
                     double d1 = ((NumericNode) o1).asDouble();
                     double d2 = ((NumericNode) o2).asDouble();
                     if (d1 == d2) { // strictly equals because it's integral value
-                        return 1;
+                        return 0;
                     }
                 }
                 return 0;