summaryrefslogtreecommitdiffstats
path: root/test/e2e_test.sh
diff options
context:
space:
mode:
authorRyan Geary <rtgnj42@gmail.com>2020-06-08 22:48:33 -0400
committerRyan Geary <rtgnj42@gmail.com>2020-06-08 22:52:47 -0400
commitfc6a2ddbdad215644306a3d2d2c1961c3eeb849e (patch)
tree3b495ac42857264265c178a2668e3e60fe400e1d /test/e2e_test.sh
parent263f64e674cc59699616371fe1e72dcb1b7a8ba5 (diff)
Add regression tests for #16
Diffstat (limited to 'test/e2e_test.sh')
-rwxr-xr-xtest/e2e_test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/e2e_test.sh b/test/e2e_test.sh
index 5fb22e9..218a5d4 100755
--- a/test/e2e_test.sh
+++ b/test/e2e_test.sh
@@ -18,6 +18,7 @@ diff -w <(cargo run -- 1:3 -o % -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${t
diff -w <(cargo run -- 1 3 -o % -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_1_3of%.txt")
diff -w <(cargo run -- 1 3 -o '' -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_1_3of.txt")
diff -w <(cargo run -- 3:6 -c -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_0_3_c.txt")
+diff -w <(cargo run -- 2 -x -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_2_x.txt")
# add tests for different delimiters
# add tests using piping