return
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
package com.softwaresmyth.functions;
|
package com.softwaresmyth.functions;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Assertions;
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import java.util.function.BiConsumer;
|
import java.util.function.BiConsumer;
|
||||||
@@ -15,7 +14,6 @@ class NoopTest {
|
|||||||
void TestOneArg() {
|
void TestOneArg() {
|
||||||
Consumer<String> toTest = OrNot::noop;
|
Consumer<String> toTest = OrNot::noop;
|
||||||
toTest.accept("Ignored");
|
toTest.accept("Ignored");
|
||||||
Assertions.fail("test failure");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user