From efec8f38f06ae1a7d8a357a9e2a1c00637f5568e Mon Sep 17 00:00:00 2001 From: Michael Dick Date: Fri, 8 Oct 2010 19:33:37 +0000 Subject: [PATCH] More helpful assert in testcase git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005984 13f79535-47bb-0310-9956-ffa450edef68 --- .../persistence/jdbc/maps/spec_10_1_27_ex0/TestSpec10_1_27.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/maps/spec_10_1_27_ex0/TestSpec10_1_27.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/maps/spec_10_1_27_ex0/TestSpec10_1_27.java index 5dacbc530..932c877e7 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/maps/spec_10_1_27_ex0/TestSpec10_1_27.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/maps/spec_10_1_27_ex0/TestSpec10_1_27.java @@ -95,7 +95,7 @@ public class TestSpec10_1_27 extends SQLListenerTestCase { rs = q.getResultList(); Map.Entry me = (Map.Entry) rs.get(0); - assertTrue(d.equals(me.getKey())); + assertEquals(d, me.getKey()); query = "select KEY(e) from Compny2 c, " + " in (c.orgs) e order by c.id";