From: Chris Jaekl Date: Wed, 30 Dec 2015 08:52:38 +0000 (+0900) Subject: Adjust unit test for intentional behaviour change of Util.objsAreEqual(). X-Git-Url: https://jaekl.net/gitweb/?a=commitdiff_plain;h=4624f0fed5347f4f5fd62a2225c789d0f9ea6b6f;p=cfb.git Adjust unit test for intentional behaviour change of Util.objsAreEqual(). --- 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) } } };