From 8879df0983737b42eee1df26004b861599dd88d6 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Mon, 25 Aug 2025 08:20:22 -0400 Subject: clippy --- tests/forth.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/forth.rs') 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"); } -- cgit v1.3