Skip to content

Commit

Permalink
Provide more context to *_regression.sh output
Browse files Browse the repository at this point in the history
The sha256:xxxxxxxxxx output was kinda decontextualized, this provides
some context.

Tempted to just output to /dev/null but the SHA may be a good clue when
you're not doing what you want. E.g.: testing the syntax but you forgot
to save the file, then you get the same SHA as the last execution.
  • Loading branch information
victor-gp committed Jul 10, 2022
1 parent 9c1b522 commit 0af2926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/highlight_regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -euo pipefail

cd "$(dirname "${BASH_SOURCE[0]}")"

echo -n "using docker image "
docker build --quiet -f docker/bat-test.dockerfile -t bat-test ..

vol1="$PWD"/source:/tests/source:ro
Expand Down
1 change: 1 addition & 0 deletions tests/theme_regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -euo pipefail

cd "$(dirname "${BASH_SOURCE[0]}")"

echo -n "using docker image "
docker build --quiet -f docker/bat-test.dockerfile -t bat-test ..

vol1="$PWD"/source:/tests/source:ro
Expand Down

0 comments on commit 0af2926

Please sign in to comment.