mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 02:28:15 +03:00
Make error message in imapserver tests about missing untagged responses more readable.
This commit is contained in:
parent
397fd1f5e7
commit
60da7f34b8
@ -232,9 +232,9 @@ next:
|
||||
}
|
||||
var next string
|
||||
if len(tc.lastUntagged) > 0 {
|
||||
next = fmt.Sprintf(", next %#v", tc.lastUntagged[0])
|
||||
next = fmt.Sprintf(", next:\n%#v", tc.lastUntagged[0])
|
||||
}
|
||||
tc.t.Fatalf("did not find untagged response %#v %T (%d) in %v%s", exp, exp, ei, tc.lastUntagged, next)
|
||||
tc.t.Fatalf("did not find untagged response:\n%#v %T (%d)\nin %v%s", exp, exp, ei, tc.lastUntagged, next)
|
||||
}
|
||||
if len(last) > 0 && all {
|
||||
tc.t.Fatalf("leftover untagged responses %v", last)
|
||||
|
Loading…
x
Reference in New Issue
Block a user