You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2011/11/18 00:56:21 UTC

svn commit: r1203426 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java

Author: mbenson
Date: Thu Nov 17 23:56:21 2011
New Revision: 1203426

URL: http://svn.apache.org/viewvc?rev=1203426&view=rev
Log:
[LANG-776] reverse bad assertion to make failing test

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java?rev=1203426&r1=1203425&r2=1203426&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java Thu Nov 17 23:56:21 2011
@@ -341,7 +341,7 @@ public class TypeUtilsTest<B> {
         dis = uhder;
         Assert.assertTrue(TypeUtils.isAssignable(uhderType, disType));
         dis = ding;
-        Assert.assertTrue(String.format("type %s not assignable to %s!", dingType, disType),
+        Assert.assertFalse(String.format("type %s not assignable to %s!", dingType, disType),
                 TypeUtils.isAssignable(dingType, disType));
         dis = tester;
         Assert.assertTrue(TypeUtils.isAssignable(testerType, disType));