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