aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/diff.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/diff.test b/tests/diff.test
index ca0b682b..ce51f1e8 100755
--- a/tests/diff.test
+++ b/tests/diff.test
@@ -5,8 +5,8 @@
seq 10 > left
seq 11 > right
-expected='--- left
-+++ right
+expected='--- lll
++++ rrr
@@ -8,3 +8,4 @@
8
9
@@ -14,7 +14,7 @@ expected='--- left
+11
'
# Hm this only gives unified diffs?
-testing "simple" "diff left right" "$expected" "" ""
+testing "simple" "diff -L lll -L rrr left right" "$expected" "" ""
expected='--- tree1/file
@@ -27,4 +27,4 @@ mkdir -p tree1 tree2
echo foo > tree1/file
echo food > tree2/file
-testing "simple" "diff -r tree1 tree2 |tee out" "$expected" "" ""
+testing "simple" "diff -r -L tree1/file -L tree2/file tree1 tree2 |tee out" "$expected" "" ""