mirror of
https://github.com/chatmail/core.git
synced 2026-09-22 04:58:47 +03:00
test: print which error/warning was expected if it does not arrive
This commit is contained in:
@@ -1377,9 +1377,9 @@ impl InnerLogSink {
|
||||
}
|
||||
}
|
||||
if is_error {
|
||||
panic!("Expected an error log.")
|
||||
panic!("Expected an error log {pat:?}.")
|
||||
} else {
|
||||
panic!("Expected a warning log.")
|
||||
panic!("Expected a warning log {pat:?}.")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user