summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-08-08 10:36:00 -0400
committerDan Davison <dandavison7@gmail.com>2020-08-08 11:53:57 -0400
commitaa1bb5c424e8ba63f5caa9c4e6b4894d6db348b4 (patch)
tree921316d0129b3ca6dc3f4033c170467b1df7358d /tests
parent51354eec1e76be3b7a7d9769114e0e3fd32dcdc1 (diff)
Shell scripts
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_raw_output_matches_git_on_full_repo_history3
1 files changed, 2 insertions, 1 deletions
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 8dcde90f..74148706 100755
--- a/tests/test_raw_output_matches_git_on_full_repo_history
+++ b/tests/test_raw_output_matches_git_on_full_repo_history
@@ -1,4 +1,5 @@
#!/bin/bash
DELTA="./target/release/delta --no-gitconfig --raw"
+ANSIFILTER="./etc/bin/ansifilter"
GIT_ARGS="log --patch --stat --numstat"
-diff -u <(git $GIT_ARGS | perl -pe 's/\e\[[0-9;]*[mK]//g') <(git $GIT_ARGS | $DELTA | perl -pe 's/\e\[[0-9;]*[mK]//g')
+diff -u <(git $GIT_ARGS | $ANSIFILTER) <(git $GIT_ARGS | $DELTA | $ANSIFILTER)