Skip to content

Commit b91f504

Browse files
authored
Test the full error context in fuzzing (#10505)
This fixes a regression from #10483 where fuzzing was testing for certain error messages but the error messages changed.
1 parent be00f1d commit b91f504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/fuzzing/src/oracles.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ fn compile_module(
332332
// when arbitrary table element limits have been exceeded as
333333
// there is currently no way to constrain the generated module
334334
// table types.
335-
let string = e.to_string();
335+
let string = format!("{e:?}");
336336
if string.contains("minimum element size") {
337337
return None;
338338
}

0 commit comments

Comments
 (0)