equal
deleted
inserted
replaced
17 } |
17 } |
18 |
18 |
19 # functional tests |
19 # functional tests |
20 |
20 |
21 function scala_assert { |
21 function scala_assert { |
22 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala-cli -i "$1" "$2" -e "urbanmain()" 2> /dev/null 1> /dev/null) |
22 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala-cli -i "$1" "$2" -e "urbanmain()")# 2> /dev/null 1> /dev/null) |
23 } |
23 } |
24 |
24 |
25 # purity test |
25 # purity test |
26 function scala_vars { |
26 function scala_vars { |
27 (sed 's/immutable/ok/g' c$out > cb$out; |
27 (sed 's/immutable/ok/g' c$out > cb$out; |