diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-03-05 12:45:43 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-05 12:45:43 -0800 |
commit | fa8baa4b2acf6f8be8f28bf84493e0889e45eb91 (patch) | |
tree | 2bce03d86ae374800d0f201dba9c2b681f5365f0 /t/diff-lib.sh | |
parent | 8a6444d50ea73350ae7e6083ecc63393749e5bb0 (diff) | |
parent | 817d03e10552c03fce7483df5034d72f883b2fab (diff) | |
download | git-fa8baa4b2acf6f8be8f28bf84493e0889e45eb91.tar.gz |
Merge branch 'jc/diff-test-updates'
Test clean-up.
* jc/diff-test-updates:
test_ln_s_add: refresh stat info of fake symbolic links
t4008: modernise style
t/diff-lib: check exact object names in compare_diff_raw
tests: do not borrow from COPYING and README from the real source
t4010: correct expected object names
t9300: correct expected object names
t4008: correct stale comments
Diffstat (limited to 't/diff-lib.sh')
-rw-r--r-- | t/diff-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/diff-lib.sh b/t/diff-lib.sh index 75a35fcd06..c211dc40ee 100644 --- a/t/diff-lib.sh +++ b/t/diff-lib.sh @@ -1,6 +1,6 @@ : -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. |