Avoid ambiguous empty stack assertions

This commit is contained in:
Dylan M. Taylor committed 2026-11-14 00:48:11 +00:00
1 parent 26feec69cb
commit 39f45eda55
1 file changed
+2 -2
+2 -2
View File
@@ -587,9 +587,9 @@ mod stack_tests {
stack.clear();
stack.roll(1, i64::MAX);
stack.index(usize::MAX);
assert_eq!(stack.values(), &[]);
assert!(stack.is_empty());
assert!(stack.copy_top(0));
assert_eq!(stack.values(), &[]);
assert!(stack.is_empty());
}
#[test]