summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-12-03 11:39:37 -0500
committerDan Davison <dandavison7@gmail.com>2020-12-03 11:39:37 -0500
commited39e4c8137e9d760eee49ac346603354902eeb4 (patch)
treec921f91474a4b154edd1deeca206efdd7af6d85c
parent0ecbe6e70afeefc1d2722dbf81ce557ebedbec03 (diff)
Fix end-to-end test shell scripts
-rwxr-xr-xtests/test_deprecated_options2
-rwxr-xr-xtests/test_raw_output_matches_git_on_full_repo_history2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_deprecated_options b/tests/test_deprecated_options
index 5ff59801..8202a70c 100755
--- a/tests/test_deprecated_options
+++ b/tests/test_deprecated_options
@@ -1,7 +1,7 @@
#!/bin/bash
# if first arg provided, use it, otherwise default to release
-DELTA_BIN=${1:=./target/release/delta}
+DELTA_BIN=${1:-./target/release/delta}
DELTA="$DELTA_BIN --no-gitconfig"
foreground_color=red
diff --git a/tests/test_raw_output_matches_git_on_full_repo_history b/tests/test_raw_output_matches_git_on_full_repo_history
index 667cbd68..c71631fb 100755
--- a/tests/test_raw_output_matches_git_on_full_repo_history
+++ b/tests/test_raw_output_matches_git_on_full_repo_history
@@ -1,7 +1,7 @@
#!/bin/bash
# if first arg provided, use it, otherwise default to release
-DELTA_BIN=${1:=./target/release/delta}
+DELTA_BIN=${1:-./target/release/delta}
DELTA="$DELTA_BIN --no-gitconfig --raw --max-line-length 0"
ANSIFILTER="./etc/bin/ansifilter"