Update StringIteratorTest.java
This commit is contained in:
parent
66604b8e27
commit
befba49dec
|
@ -29,14 +29,6 @@ public class StringIteratorTest {
|
||||||
assertEquals(expectedOutput, result);
|
assertEquals(expectedOutput, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void whenUseRegexSplit_thenIterate() {
|
|
||||||
String input = "Hello, Baeldung!";
|
|
||||||
String expectedOutput = "Hello, Baeldung!";
|
|
||||||
String result = StringIterator.javaRegExp(input);
|
|
||||||
assertEquals(expectedOutput, result);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenUseCharacterIterator_thenIterate() {
|
public void whenUseCharacterIterator_thenIterate() {
|
||||||
String input = "Hello, Baeldung!";
|
String input = "Hello, Baeldung!";
|
||||||
|
|
Loading…
Reference in New Issue