commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject [3/6] [text] Tests should not write to std out
Date Sun, 19 Apr 2015 09:02:34 GMT
Tests should not write to std out


Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/0ecf9afc
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/0ecf9afc
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/0ecf9afc

Branch: refs/heads/master
Commit: 0ecf9afc8473fae8537c76178b4044d85c2b743e
Parents: df68123
Author: Benedikt Ritter <britter@apache.org>
Authored: Sun Apr 19 10:39:31 2015 +0200
Committer: Benedikt Ritter <britter@apache.org>
Committed: Sun Apr 19 10:39:31 2015 +0200

----------------------------------------------------------------------
 .../apache/commons/text/similarity/StringMetricFromTest.java    | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/0ecf9afc/src/test/java/org/apache/commons/text/similarity/StringMetricFromTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/text/similarity/StringMetricFromTest.java b/src/test/java/org/apache/commons/text/similarity/StringMetricFromTest.java
index de59452..117b3bc 100644
--- a/src/test/java/org/apache/commons/text/similarity/StringMetricFromTest.java
+++ b/src/test/java/org/apache/commons/text/similarity/StringMetricFromTest.java
@@ -54,11 +54,6 @@ public class StringMetricFromTest {
                 mostSimilar = test;
             }
         }
-       
-        System.out.println("The string most similar to \"" + target + "\" "
-            + "is \"" + mostSimilar + "\" because "
-            + "its distance is only " + shortestDistance + ".");
-
         assertThat(mostSimilar, equalTo("a patchy"));
         assertThat(shortestDistance, equalTo(4));
     }


Mime
View raw message