summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/choose_12.txt6
-rwxr-xr-xtest/e2e_test.sh1
2 files changed, 7 insertions, 0 deletions
diff --git a/test/choose_12.txt b/test/choose_12.txt
new file mode 100644
index 0000000..ccb13f4
--- /dev/null
+++ b/test/choose_12.txt
@@ -0,0 +1,6 @@
+
+quis
+
+eu
+
+
diff --git a/test/e2e_test.sh b/test/e2e_test.sh
index b91b0f1..506f651 100755
--- a/test/e2e_test.sh
+++ b/test/e2e_test.sh
@@ -11,6 +11,7 @@ diff -w <(cargo run -- 0 3 -i ${test_dir}/lorem.txt) <(cat "${test_dir}/choose_0
diff -w <(cargo run -- :2 -i ${test_dir}/lorem.txt) <(cat "${test_dir}/choose_:2.txt")
diff -w <(cargo run -- 9 3 -i ${test_dir}/lorem.txt) <(cat "${test_dir}/choose_9_3.txt")
diff -w <(cargo run -- 9 -i ${test_dir}/lorem.txt) <(cat "${test_dir}/choose_9.txt")
+diff -w <(cargo run -- 12 -i ${test_dir}/lorem.txt) <(cat "${test_dir}/choose_12.txt")
# add test for reverse range
# add tests for different delimiters
# add tests using piping