testing1/collatz_test.sh
changeset 210 63a1376cbebd
parent 206 bbe00108a6f3
child 218 22705d22c105
--- a/testing1/collatz_test.sh	Sat Nov 17 15:35:50 2018 +0000
+++ b/testing1/collatz_test.sh	Sat Nov 17 22:39:02 2018 +0000
@@ -27,7 +27,7 @@
 # purity test
 
 function scala_vars {
-   (egrep '\bvar\b|\breturn\b|\.par|ListBuffer|mutable' "$1" 2> /dev/null 1> /dev/null)
+   (egrep '\bvar\b|\breturn\b|\.par|ListBuffer|mutable|new Array' "$1" 2> /dev/null 1> /dev/null)
 }