Re: [PATCH 5/6] t/diff-lib: check exact object names in compare_diff_raw
Johannes Sixt <j6t@kdbg.org> writes:
Show 15 quoted lines
>> diff --git a/t/diff-lib.sh b/t/diff-lib.sh
>> index 75a35fc..c211dc4 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.
>>
>
> This reveals a minor bug in test_ln_s_add:Thanks for catching it before it hits 'master'.