1#!/bin/sh
23
test_description='patience diff algorithm'
45
. ./test-lib.sh
6. "$TEST_DIRECTORY"/lib-diff-alternative.sh
78
test_expect_success '--ignore-space-at-eol with a single appended character' '
9printf "a\nb\nc\n" >pre &&
10printf "a\nbX\nc\n" >post &&
11test_must_fail git diff --no-index \
12--patience --ignore-space-at-eol pre post >diff &&
13grep "^+.*X" diff
14'
1516
test_diff_frobnitz "patience"
1718
test_diff_unique "patience"
1920
test_done