Skip to content

Commit 6adae44

Browse files
committed
add functional test
1 parent 8bff557 commit 6adae44

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

01-test

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,12 @@ diff output expected_output1 \
2828
diff output expected_output2 \
2929
&& echo Commandline test 2 succeeded. \
3030
|| ( echo Commandline test 2 failed. && exit 3 )
31+
32+
# We search for nothing. Do we get nothing?
33+
../../target/debug/stringsext -q 32 -tx -a None -u None \
34+
-e UTF-8 -e utf-16le -e utf-16be input1 input2 > output
35+
36+
diff output expected_output3 \
37+
&& echo Commandline test 3 succeeded. \
38+
|| ( echo Commandline test 3 failed. && exit 4 )
39+

tests/functional/expected_output3

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+


0 commit comments

Comments
 (0)