Skip to content

Commit 83f3ac6

Browse files
committed
Add test case in the PredicateTest.java
1 parent 71ab103 commit 83f3ac6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/com/github/streams/learn/functional_interfaces/B_FunctionTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public void function1() {
1414
Function<String, String> func = null; // TODO
1515

1616
assertEquals("(abc)", func.apply("abc"));
17+
assertEquals("()", func.apply(""));
1718
}
1819

1920
/** Write a lambda expression that converts the given string to upper case. */

0 commit comments

Comments
 (0)