Skip to content

Commit 6065b40

Browse files
committed
Adds additional test for two-fer exercise
1 parent a9fa9a4 commit 6065b40

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

exercises/two-fer/src/test/java/TwoferTest.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,13 @@ public void anotherNameGiven() {
3838

3939
assertEquals(expected, twofer.twofer(input));
4040
}
41+
42+
@Ignore("Remove to run test")
43+
@Test
44+
public void emptyStringGiven() {
45+
String input = "";
46+
String expected = "One for , one for me.";
47+
48+
assertEquals(expected, twofer.twofer(input) );
49+
}
4150
}

0 commit comments

Comments
 (0)