Skip to content

Commit

Permalink
remove dependency on groovy from test
Browse files Browse the repository at this point in the history
  • Loading branch information
ssadedin committed Aug 23, 2024
1 parent 935f8ec commit 6b659d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/input_ext_with_number/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ run test1.txt test1.csv test2.txt

exists test1.hello.xml

[ `cat test1.hello.xml | groovy -e 'print(System.in.readLines()[0..1] == ["2","3"])'` == true ] || err "Contents of output file test1.hello.xml didn't match expected"
([ `head -n 1 test1.hello.xml` == "2" ] && [ `tail -n 1 test1.hello.xml` == "3" ] && [ `wc -l test1.hello.xml | awk '{print $1}'` == 2 ]) || err "Contents of output file test1.hello.xml didn't match expected"

true

0 comments on commit 6b659d4

Please sign in to comment.