testing1/collatz_test.sh
changeset 281 87b9e3e2c1a7
parent 266 ca48ac1d3c3e
child 302 067afe8af35b
--- a/testing1/collatz_test.sh	Tue Oct 29 11:11:44 2019 +0000
+++ b/testing1/collatz_test.sh	Tue Oct 29 14:12:24 2019 +0000
@@ -21,7 +21,7 @@
 # functional tests
 
 function scala_assert {
-  (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null)
+  (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -i "$1" -- "$2" -e "" 2> /dev/null 1> /dev/null)
 }
 
 # purity test