This commit is contained in:
Shekhar Gulati
2017-06-17 04:06:46 +05:30
parent 5e5440119d
commit 88d9664aea
2 changed files with 16 additions and 4 deletions
+1 -1
View File
@@ -949,7 +949,7 @@ public class StrmanTests {
@Test
public void words_shouldConvertTextToWords() throws Exception {
final String line = "This is a string, with words!";
assertThat(words(line), is(new String[]{"This", "is", "a", "string", "with", "words"}));
assertThat(words(line), arrayContaining("This", "is", "a", "string,", "with", "words!"));
}
@Test