diff options
Diffstat (limited to 't/diff-lib.sh')
-rw-r--r-- | t/diff-lib.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/t/diff-lib.sh b/t/diff-lib.sh index 4bddeb5..c211dc4 100644 --- a/t/diff-lib.sh +++ b/t/diff-lib.sh @@ -1,8 +1,6 @@ : -_x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]' -_x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40" -sanitize_diff_raw='/^:/s/ '"$_x40"' '"$_x40"' \([A-Z]\)[0-9]* / X X \1# /' +sanitize_diff_raw='/^:/s/ '"\($_x40\)"' '"\($_x40\)"' \([A-Z]\)[0-9]* / \1 \2 \3# /' compare_diff_raw () { # When heuristics are improved, the score numbers would change. # Ignore them while comparing. |