8000 Fix test. · ocschwar/pythonvm-rust@78929e8 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 78929e8

Browse files
committed
Fix test.
1 parent ea25a4d commit 78929e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/processor/instructions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,5 @@ fn test_load_read() {
131131
let bytes: Vec<u8> = vec![124, 1, 0, 83];
132132
let reader = InstructionDecoder::new(bytes.iter());
133133
let instructions: Vec<Instruction> = reader.collect();
134-
assert_eq!(vec![Instruction::LoadFast(1), Instruction::ReturnValue], instructions);
134+
assert_eq!(vec![Instruction::LoadFast(1), Instruction::Nop, Instruction::Nop, Instruction::ReturnValue], instructions);
135135
}

0 commit comments

Comments
 (0)
0