Repository: commons-text Updated Branches: refs/heads/master bf86c1d13 -> 4168de224
Fix tests, due to a different text in the AlphabetConverter class Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/4168de22 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/4168de22 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/4168de22 Branch: refs/heads/master Commit: 4168de224d0341d9cf0fd38456b296800d245044 Parents: bf86c1d Author: Bruno P. Kinoshita <[email protected]> Authored: Tue Nov 8 21:59:57 2016 +1300 Committer: Bruno P. Kinoshita <[email protected]> Committed: Tue Nov 8 21:59:57 2016 +1300 ---------------------------------------------------------------------- src/test/java/org/apache/commons/text/AlphabetConverterTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-text/blob/4168de22/src/test/java/org/apache/commons/text/AlphabetConverterTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/text/AlphabetConverterTest.java b/src/test/java/org/apache/commons/text/AlphabetConverterTest.java index 94c4a30..ac98052 100644 --- a/src/test/java/org/apache/commons/text/AlphabetConverterTest.java +++ b/src/test/java/org/apache/commons/text/AlphabetConverterTest.java @@ -136,7 +136,7 @@ public class AlphabetConverterTest { @Test public void noEncodingLettersTest() { thrown.expect(IllegalArgumentException.class); - thrown.expectMessage("Must have at least two encoding characters (not counting those in the 'do not encode' list), but has 0"); + thrown.expectMessage("Must have at least two encoding characters (excluding those in the 'do not encode' list), but has 0"); AlphabetConverter.createConverterFromChars(english_and_numbers, numbers, numbers); } @@ -144,7 +144,7 @@ public class AlphabetConverterTest { @Test public void onlyOneEncodingLettersTest() { thrown.expect(IllegalArgumentException.class); - thrown.expectMessage("Must have at least two encoding characters (not counting those in the 'do not encode' list), but has 1"); + thrown.expectMessage("Must have at least two encoding characters (excluding those in the 'do not encode' list), but has 1"); Character[] numbersPlusUnderscore = Arrays.copyOf(numbers, numbers.length + 1); numbersPlusUnderscore[numbersPlusUnderscore.length -1] = '_';
