Updating to ScalaTest 3.0.0 and ScalaCheck 1.13.2

This commit is contained in:
Endre Sándor Varga 2016-08-03 14:06:57 +02:00
parent 0ed4a2aae9
commit 5e830323f6
27 changed files with 213 additions and 201 deletions

View file

@ -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");
}
}