From 4624f0fed5347f4f5fd62a2225c789d0f9ea6b6f Mon Sep 17 00:00:00 2001 From: Chris Jaekl Date: Wed, 30 Dec 2015 17:52:38 +0900 Subject: [PATCH] Adjust unit test for intentional behaviour change of Util.objsAreEqual(). --- test/net/jaekl/cfb/util/UtilTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/net/jaekl/cfb/util/UtilTest.java b/test/net/jaekl/cfb/util/UtilTest.java index beaa926..f9a609a 100644 --- a/test/net/jaekl/cfb/util/UtilTest.java +++ b/test/net/jaekl/cfb/util/UtilTest.java @@ -23,7 +23,11 @@ public class UtilTest { { { Integer.valueOf(1), Integer.valueOf(2048), Integer.valueOf(3) }, { Integer.valueOf(1), Integer.valueOf(2048), Integer.valueOf(3) } - } + }, + { + { Integer.valueOf(1), Integer.valueOf(2048), Integer.valueOf(3) }, + { Integer.valueOf(1), Integer.valueOf(2048), Long.valueOf(3) } + } }; Object[][][] unequal = { { @@ -45,10 +49,6 @@ public class UtilTest { { { "1", "2", "3" }, { Integer.valueOf(1), Integer.valueOf(2), Integer.valueOf(3) } - }, - { - { Integer.valueOf(1), Integer.valueOf(2048), Integer.valueOf(3) }, - { Integer.valueOf(1), Integer.valueOf(2048), Long.valueOf(3) } } }; -- 2.39.2