summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-12-20 21:38:34 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-12-20 21:38:39 +0000
commit03f67737414ebb3631f097d45c5aff9a83e63b1b (patch)
tree4eb7d5a88f3bf291549f4d7e898c1e95783d427a /tests
parent1f7b9876c5641666901f40888eb8a975449569c1 (diff)
Improve "cannot represent change" message
Print the git old and new modes too. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/unrepresentable2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests/unrepresentable b/tests/tests/unrepresentable
index 9dd2111..5b3e139 100755
--- a/tests/tests/unrepresentable
+++ b/tests/tests/unrepresentable
@@ -21,7 +21,7 @@ badly-1 () {
badly-2 () {
git commit -m "Commit wrongness $wrongfn ($wrongmsg)"
- t-expect-fail "cannot represent change: $wrongmsg: $wrongfn" \
+ t-expect-fail E:"cannot represent change: $wrongmsg .*: $wrongfn" \
attempt
}