Skip to content

Commit 85f149e

Browse files
author
Ralph Küpper
committed
test(gc): accept enriched root-spill diagnostic
1 parent a43a1d0 commit 85f149e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/perry/tests/gc_root_spill_mixed_frames_8583.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ fn mixed_statepoint_and_shadow_frames_survive_a_relocating_minor() {
164164
// proves nothing. The report names each shadow-framed function at default
165165
// verbosity (#8421: the change is never silent).
166166
assert!(
167-
spilled_err.contains("keeps its") && spilled_err.contains("GC roots in a shadow frame"),
167+
spilled_err.contains("keeps its")
168+
&& spilled_err.contains("in a shadow frame instead of statepoints"),
168169
"PERRY_ROOT_SPILL_RELOCATIONS=1 was expected to spill at least one \
169170
function, but the compile reported none:\nstderr:\n{spilled_err}"
170171
);

0 commit comments

Comments
 (0)