
Group the test cases into two functions, test_diff_(frobnitz|unique). This in preparation for the histogram diff algorithm, which would also re-use these test cases. Signed-off-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 lines
186 B
Bash
Executable File
13 lines
186 B
Bash
Executable File
#!/bin/sh
|
|
|
|
test_description='patience diff algorithm'
|
|
|
|
. ./test-lib.sh
|
|
. "$TEST_DIRECTORY"/lib-diff-alternative.sh
|
|
|
|
test_diff_frobnitz "patience"
|
|
|
|
test_diff_unique "patience"
|
|
|
|
test_done
|