pass the crash tag through

This commit is contained in:
Folkert 2023-07-27 19:28:08 +02:00
parent f692c8dabf
commit 29df340a26
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 54 additions and 25 deletions

View file

@ -994,7 +994,7 @@ fn undefined_variable() {
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
#[should_panic(expected = "Roc failed with message: a crash")]
#[should_panic(expected = "User crash with message: \"a crash\"")]
fn a_crash() {
assert_evals_to!(
indoc!(