From ed39e4c8137e9d760eee49ac346603354902eeb4 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 3 Dec 2020 11:39:37 -0500 Subject: Fix end-to-end test shell scripts --- tests/test_deprecated_options | 2 +- tests/test_raw_output_matches_git_on_full_repo_history | 2 +- 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" -- cgit v1.2.3