Skip to content

Commit 241138b

Browse files
committed
ignore whitespace when testing for main(String ...
1 parent fcd3215 commit 241138b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

j2py/transform_all.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ compile_and_run() {
4848
fi
4949

5050
#run and compare output
51-
if grep -q "main(String" "$class.java"
51+
if grep -q "main(\s*String" "$class.java"
5252
then
5353

5454
#run java

0 commit comments

Comments
 (0)