diff options
author | Ryan Geary <rtgnj42@gmail.com> | 2019-09-11 11:50:33 -0400 |
---|---|---|
committer | Ryan Geary <rtgnj42@gmail.com> | 2019-09-11 11:50:49 -0400 |
commit | 18dcf845fbce884a12ab64a9de048b766e7556f7 (patch) | |
tree | d4b105d51ae20fe56e7ecaf9a374e2b39397ab07 /test | |
parent | 44e5446992901b94790107f5d4fc7380a102e8ac (diff) |
Add choose 12 test
Diffstat (limited to 'test')
-rw-r--r-- | test/choose_12.txt | 6 | ||||
-rwxr-xr-x | test/e2e_test.sh | 1 |
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 |