diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-12-20 21:38:34 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-12-20 21:38:39 +0000 |
commit | 03f67737414ebb3631f097d45c5aff9a83e63b1b (patch) | |
tree | 4eb7d5a88f3bf291549f4d7e898c1e95783d427a /tests | |
parent | 1f7b9876c5641666901f40888eb8a975449569c1 (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-x | tests/tests/unrepresentable | 2 |
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 } |