Updating to ScalaTest 3.0.0 and ScalaCheck 1.13.2
This commit is contained in:
parent
0ed4a2aae9
commit
5e830323f6
27 changed files with 213 additions and 201 deletions
|
|
@ -41,14 +41,14 @@ public class JavaAPITestBase extends JUnitSuite {
|
|||
String s : Option.some("abc")) {
|
||||
return;
|
||||
}
|
||||
fail("for-loop not entered");
|
||||
org.junit.Assert.fail("for-loop not entered");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shouldNotEnterForLoop() {
|
||||
for (@SuppressWarnings("unused")
|
||||
Object o : Option.none()) {
|
||||
fail("for-loop entered");
|
||||
org.junit.Assert.fail("for-loop entered");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue