mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-18 04:52:57 +00:00
Avoid ambiguous empty stack assertions
This commit is contained in:
@@ -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