testing1/collatz_test.sh
changeset 210 34f935e13bdd
parent 206 b886da5af7c6
child 218 ae788eeea8a0
--- 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)
 }