You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2017/02/01 19:05:15 UTC

[lang] Fix copy-paste error in CharUtilsTest#testIsAsciiPrintable_char (closes #230)

Repository: commons-lang
Updated Branches:
  refs/heads/master 857e0de49 -> ab25f6734


Fix copy-paste error in CharUtilsTest#testIsAsciiPrintable_char (closes #230)

Line 238 has copy paste error from testIsAscii_char


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

Branch: refs/heads/master
Commit: ab25f67348d4885620df86497889c1826f013a73
Parents: 857e0de
Author: peleghila <pe...@users.noreply.github.com>
Authored: Wed Feb 1 14:01:18 2017 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Wed Feb 1 20:03:48 2017 +0100

----------------------------------------------------------------------
 src/test/java/org/apache/commons/lang3/CharUtilsTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/ab25f673/src/test/java/org/apache/commons/lang3/CharUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/CharUtilsTest.java b/src/test/java/org/apache/commons/lang3/CharUtilsTest.java
index 988c380..ea68ada 100644
--- a/src/test/java/org/apache/commons/lang3/CharUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/CharUtilsTest.java
@@ -235,7 +235,7 @@ public class CharUtilsTest {
         assertTrue(CharUtils.isAsciiPrintable('3'));
         assertTrue(CharUtils.isAsciiPrintable('-'));
         assertFalse(CharUtils.isAsciiPrintable('\n'));
-        assertFalse(CharUtils.isAscii(CHAR_COPY));
+        assertFalse(CharUtils.isAsciiPrintable(CHAR_COPY));
        
         for (int i = 0; i < 196; i++) {
             if (i >= 32 && i <= 126) {