Tweak expectation panic message wording

This commit is contained in:
Richard Feldman 2022-07-18 17:36:09 -04:00
parent 9d294b459e
commit 35733d51dc
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798

View file

@ -1047,9 +1047,9 @@ fn render_expect_panic<'a>(
let alloc = RocDocAllocator::new(&src_lines, module_id, interns);
let doc = alloc.stack([
alloc.text("This expectation panicked:"),
alloc.text("This expectation crashed while running:"),
alloc.region(line_col_region),
alloc.text("With this panic message:"),
alloc.text("The crash reported this message:"),
alloc.text(message),
]);