From 03f67737414ebb3631f097d45c5aff9a83e63b1b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 20 Dec 2016 21:38:34 +0000 Subject: Improve "cannot represent change" message Print the git old and new modes too. Signed-off-by: Ian Jackson --- tests/tests/unrepresentable | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tests') 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 } -- cgit v1.2.3