Skip to content

Commit 90e218a

Browse files
committed
Fix panic test.
1 parent 5bd5ea2 commit 90e218a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-pass/panic/std-panic-locations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ fn main() {
3535
// Cleanup: reset to default hook.
3636
drop(std::panic::take_hook());
3737

38-
assert_eq!(HOOK_COUNT.load(Ordering::Relaxed), 8);
38+
assert_eq!(HOOK_COUNT.load(Ordering::Relaxed), 6);
3939
}

0 commit comments

Comments
 (0)