Skip to content

Commit 19efa5a

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class B_FunctionTest {
1010
/** Write a lambda expression that wraps the given string in parentheses. */
1111
@Test
1212
@Disabled
13-
public void function1() {
13+
void function1() {
1414
Function<String, String> func = null; // TODO
1515

1616
assertEquals("(abc)", func.apply("abc"));
@@ -20,7 +20,7 @@ public void function1() {
2020
/** Write a lambda expression that converts the given string to upper case. */
2121
@Test
2222
@Disabled
23-
public void function2() {
23+
void function2() {
2424
Function<String, String> func = null; // TODO
2525

2626
assertEquals("ABC", func.apply("abc"));

0 commit comments

Comments
 (0)