diff options
author | Paul Moore <p.f.moore@gmail.com> | 2022-04-13 19:08:28 +0100 |
---|---|---|
committer | Ryan Geary <7076013+theryangeary@users.noreply.github.com> | 2022-04-18 09:00:24 -0400 |
commit | 97b3abf5204badf60eb79be6be07285bdef83049 (patch) | |
tree | 4b1290ceadca76a62927a47fc67f16dbac7fca5a | |
parent | 1708d588d7ec3215556d15ee07614662ae59e6bf (diff) |
Rename test files for Windows compatibility
-rw-r--r-- | test/choose_-4x-2.txt (renamed from test/choose_-4:-2.txt) | 0 | ||||
-rw-r--r-- | test/choose_0x1.txt (renamed from test/choose_0:1.txt) | 0 | ||||
-rw-r--r-- | test/choose_1x3of%.txt (renamed from test/choose_1:3of%.txt) | 0 | ||||
-rw-r--r-- | test/choose_4x2.txt (renamed from test/choose_4:2.txt) | 0 | ||||
-rw-r--r-- | test/choose_x1.txt (renamed from test/choose_:1.txt) | 0 | ||||
-rwxr-xr-x | test/e2e_test.sh | 10 |
6 files changed, 5 insertions, 5 deletions
diff --git a/test/choose_-4:-2.txt b/test/choose_-4x-2.txt index 313a492..313a492 100644 --- a/test/choose_-4:-2.txt +++ b/test/choose_-4x-2.txt diff --git a/test/choose_0:1.txt b/test/choose_0x1.txt index 38b492a..38b492a 100644 --- a/test/choose_0:1.txt +++ b/test/choose_0x1.txt diff --git a/test/choose_1:3of%.txt b/test/choose_1x3of%.txt index a0fa11f..a0fa11f 100644 --- a/test/choose_1:3of%.txt +++ b/test/choose_1x3of%.txt diff --git a/test/choose_4:2.txt b/test/choose_4x2.txt index e441054..e441054 100644 --- a/test/choose_4:2.txt +++ b/test/choose_4x2.txt diff --git a/test/choose_:1.txt b/test/choose_x1.txt index 38b492a..38b492a 100644 --- a/test/choose_:1.txt +++ b/test/choose_x1.txt diff --git a/test/e2e_test.sh b/test/e2e_test.sh index 18e9628..320521b 100755 --- a/test/e2e_test.sh +++ b/test/e2e_test.sh @@ -6,15 +6,15 @@ orig_dir="$(pwd)" cd "$(git rev-parse --show-toplevel)" # basic functionality -diff -w <(cargo run -- 0:1 -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_0:1.txt") +diff -w <(cargo run -- 0:1 -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_0x1.txt") diff -w <(cargo run -- 0 3 -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_0_3.txt") -diff -w <(cargo run -- :1 -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_:1.txt") +diff -w <(cargo run -- :1 -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_x1.txt") diff -w <(cargo run -- 9 3 -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_9_3.txt") diff -w <(cargo run -- 9 -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_9.txt") diff -w <(cargo run -- 12 -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_12.txt") -diff -w <(cargo run -- 4:2 -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_4:2.txt") -diff -w <(cargo run -- -4:-2 -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_-4:-2.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 -- 4:2 -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_4x2.txt") +diff -w <(cargo run -- -4:-2 -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_-4x-2.txt") +diff -w <(cargo run -- 1:3 -o % -i ${test_dir}/lorem.txt 2>/dev/null) <(cat "${test_dir}/choose_1x3of%.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 -- 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") |