mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-14 22:42:46 +00:00
Avoid ambiguous empty stack assertions
This commit is contained in:
1 parent
26feec69cb
commit
39f45eda55
1 file changed
+2
-2
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user