You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2016/03/29 18:24:04 UTC

ant-antlibs-antunit git commit: Java6ism

Repository: ant-antlibs-antunit
Updated Branches:
  refs/heads/master ac56fd467 -> 2156501c4


Java6ism


Project: http://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit/commit/2156501c
Tree: http://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit/tree/2156501c
Diff: http://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit/diff/2156501c

Branch: refs/heads/master
Commit: 2156501c49f380efd4382854afa6c401ac31502f
Parents: ac56fd4
Author: Stefan Bodewig <bo...@apache.org>
Authored: Tue Mar 29 18:23:48 2016 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Tue Mar 29 18:23:48 2016 +0200

----------------------------------------------------------------------
 .../org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit/blob/2156501c/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java
----------------------------------------------------------------------
diff --git a/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java b/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java
index e19cc64..f992795 100644
--- a/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java
+++ b/src/tests/junit/org/apache/ant/antunit/junit4/AntUnitSuiteRunnerTest.java
@@ -102,7 +102,7 @@ public class AntUnitSuiteRunnerTest extends TestCase {
         };
 
         runner.run(notifierMock);
-        assertTrue(mockExcutionError, mockExcutionError.isEmpty());
+        assertTrue(mockExcutionError, mockExcutionError.length() == 0);
         assertTrue(mockExecutionOK);
     }