mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Tweak expectation panic message wording
This commit is contained in:
parent
9d294b459e
commit
35733d51dc
1 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue