chiark / gitweb /
Improve "cannot represent change" message
[dgit.git] / tests / tests / unrepresentable
index 9dd2111baac87ff3db7f25c4649866f3e901d63c..5b3e139387aacee13c5bb4af39a0a85f4a444518 100755 (executable)
@@ -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
 }