Skip to content

Commit 9a04fe5

Browse files
committed
Adjusting for deprecation warnings.
1 parent 59aaec3 commit 9a04fe5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/test/fj/Tests.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ object Tests {
3333
c.status match {
3434
case Test.Passed => println("Passed " + name)
3535
case Test.Proved(_) => println("Proved " + name)
36-
case f @ Test.Failed(_, _) => error(name + ": " + f)
36+
case f @ Test.Failed(_, _) => sys.error(name + ": " + f)
3737
case Test.Exhausted => println("Exhausted " + name)
3838
case f @ Test.GenException(e) => {
3939
e.printStackTrace
40-
error(name + ": " + f)
40+
sys.error(name + ": " + f)
4141
}
4242
case f @ Test.PropException(_, e, _) => {
4343
e.printStackTrace
44-
error(name + ": " + f)
44+
sys.error(name + ": " + f)
4545
}
4646
}
4747
}

0 commit comments

Comments
 (0)