chiark / gitweb /
Improve "cannot represent change" message
[dgit.git] / tests / tests / unrepresentable
index 9dd2111..5b3e139 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
 }