ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject ant-antlibs-antunit git commit: Java6ism
Date Tue, 29 Mar 2016 16:24:04 GMT
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 <bodewig@apache.org>
Authored: Tue Mar 29 18:23:48 2016 +0200
Committer: Stefan Bodewig <bodewig@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);
     }
 


Mime
View raw message