mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Fixed the test vm for a missed comparison operator
This commit is contained in:
1 parent
4c53f2b727
commit
57aca407bc
1 file changed
+1
-1
@@ -56,7 +56,7 @@ impl VirtualMachine {
|
||||
|
||||
loop {
|
||||
// for instruction in code.instructions {
|
||||
if self.program_counter > current_frame.instructions.len() {
|
||||
if self.program_counter >= current_frame.instructions.len() {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user