mirror of
https://github.com/shekhargulati/strman-java.git
synced 2026-10-21 06:54:09 +00:00
Resolved #87
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user