commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1203426 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java
Date Thu, 17 Nov 2011 23:56:21 GMT
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));



Mime
View raw message