]> git.ipfire.org Git - thirdparty/git.git/blame - t/t4033-diff-patience.sh
Start the 2.46 cycle
[thirdparty/git.git] / t / t4033-diff-patience.sh
CommitLineData
34292bdd
JS
1#!/bin/sh
2
3test_description='patience diff algorithm'
4
16d4bd4f 5TEST_PASSES_SANITIZE_LEAK=true
34292bdd 6. ./test-lib.sh
46c8f298 7. "$TEST_DIRECTORY"/lib-diff-alternative.sh
34292bdd 8
044fb190 9test_expect_success '--ignore-space-at-eol with a single appended character' '
a5229cc9
JS
10 printf "a\nb\nc\n" >pre &&
11 printf "a\nbX\nc\n" >post &&
12 test_must_fail git diff --no-index \
13 --patience --ignore-space-at-eol pre post >diff &&
14 grep "^+.*X" diff
15'
16
46c8f298 17test_diff_frobnitz "patience"
34292bdd 18
46c8f298 19test_diff_unique "patience"
34292bdd
JS
20
21test_done