diff options
| author | Brian Cully <bjc@spork.org> | 2025-08-25 08:20:22 -0400 |
|---|---|---|
| committer | Brian Cully <bjc@spork.org> | 2025-08-25 08:22:13 -0400 |
| commit | 8879df0983737b42eee1df26004b861599dd88d6 (patch) | |
| tree | d95dcfedf2aaa1ff8381bf13990ada289d33c047 /tests | |
| parent | 4b8188f69272658945e3c20425308a9951c0eba6 (diff) | |
| download | automathon-8879df0983737b42eee1df26004b861599dd88d6.tar.gz automathon-8879df0983737b42eee1df26004b861599dd88d6.zip | |
clippy
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/forth.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/forth.rs b/tests/forth.rs index 4fae28e..d9cbed4 100644 --- a/tests/forth.rs +++ b/tests/forth.rs @@ -22,7 +22,5 @@ fn factorial() { eprintwordlist(&comp.wordlist); let mut vm = VM::new(comp.wordlist); vm.run().expect("should run to completion"); - eprintln!("stack: {:?}", vm.stack); - assert_eq!(vm.stack.0.len(), 1, "factorial result stack len"); - assert_eq!(vm.stack.0[0], 120, "factorial result value"); + assert_eq!(vm.stack.0, vec![120], "result stack"); } |
