You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by gi...@apache.org on 2018/04/23 05:05:31 UTC
ant git commit: Fix: assumption became assertion by mistake
Repository: ant
Updated Branches:
refs/heads/master 1c90058c2 -> 025ec7bfa
Fix: assumption became assertion by mistake
Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/025ec7bf
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/025ec7bf
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/025ec7bf
Branch: refs/heads/master
Commit: 025ec7bfa4df95a2add8c30c5ef85f3b06872240
Parents: 1c90058
Author: Gintas Grigelionis <gi...@apache.org>
Authored: Mon Apr 23 07:05:52 2018 +0200
Committer: Gintas Grigelionis <gi...@apache.org>
Committed: Mon Apr 23 07:05:52 2018 +0200
----------------------------------------------------------------------
src/tests/junit/org/apache/tools/ant/filters/TokenFilterTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant/blob/025ec7bf/src/tests/junit/org/apache/tools/ant/filters/TokenFilterTest.java
----------------------------------------------------------------------
diff --git a/src/tests/junit/org/apache/tools/ant/filters/TokenFilterTest.java b/src/tests/junit/org/apache/tools/ant/filters/TokenFilterTest.java
index aff9de8..928348b 100644
--- a/src/tests/junit/org/apache/tools/ant/filters/TokenFilterTest.java
+++ b/src/tests/junit/org/apache/tools/ant/filters/TokenFilterTest.java
@@ -188,7 +188,7 @@ public class TokenFilterTest {
@Test
public void testContainsRegex() throws IOException {
buildRule.executeTarget("hasregex");
- assertThat("Regex not present",
+ assumeThat("Regex not present",
getFileString(buildRule.getProject().getProperty("output") + "/replaceregexp"),
containsString("bye world"));