diff --git a/nemu/tests/expr_test.c b/nemu/tests/expr_test.c index 7fd4f9e..181d011 100644 --- a/nemu/tests/expr_test.c +++ b/nemu/tests/expr_test.c @@ -152,7 +152,7 @@ struct { {"0--0x1", 0x1}, }, reg_exprs[] = { {"$ra", 0x1}, - {"4$ra", 0x4}, + {"4*$ra", 0x4}, }; START_TEST(test_expr_negative_operand) { yy_scan_string(exprs[_i].expr);