diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-04-26 13:36:14 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-04-26 14:45:50 -0400 |
commit | 15bedf2eb49de35d2f369d2fcff0090595e58362 (patch) | |
tree | 07e524f9360c7d2a801fb87d097a6aece4958327 /tests | |
parent | da89d65703c36e26840a2a40bb778fcb78120f60 (diff) |
Move end-to-end-test out of Makefile into shell script
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_color_only_output_matches_git_on_full_repo_history | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_color_only_output_matches_git_on_full_repo_history b/tests/test_color_only_output_matches_git_on_full_repo_history new file mode 100755 index 00000000..ebe656e2 --- /dev/null +++ b/tests/test_color_only_output_matches_git_on_full_repo_history @@ -0,0 +1,3 @@ +#!/bin/bash +GIT_ARGS="log --patch --stat --numstat" +diff -u <(git $GIT_ARGS) <(git $GIT_ARGS | ./target/release/delta --color-only | perl -pe 's/\e\[[0-9;]*m//g') |