Skip to content

Commit da8bd5c

Browse files
committed
fix indentation and fix a test
1 parent d639055 commit da8bd5c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

zjit/src/hir.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13282,16 +13282,16 @@ mod opt_tests {
1328213282
CheckInterrupts
1328313283
Return v27
1328413284
");
13285-
}
13285+
}
1328613286

1328713287
#[test]
1328813288
fn test_eliminate_string_empty() {
1328913289
eval(r#"
1329013290
def test(s)
1329113291
s.empty?
13292-
69
13292+
4
1329313293
end
13294-
test("we do glass half empty around here")
13294+
test("this should get removed")
1329513295
"#);
1329613296
assert_snapshot!(hir_string("test"), @r"
1329713297
fn test@<compiled>:3:
@@ -13308,11 +13308,11 @@ mod opt_tests {
1330813308
PatchPoint NoSingletonClass(String@0x1000)
1330913309
v28:StringExact = GuardType v9, StringExact
1331013310
IncrCounter inline_cfunc_optimized_send_count
13311-
v19:Fixnum[69] = Const Value(69)
13311+
v19:Fixnum[4] = Const Value(4)
1331213312
CheckInterrupts
1331313313
Return v19
1331413314
");
13315-
}
13315+
}
1331613316

1331713317
#[test]
1331813318
fn test_inline_integer_succ_with_fixnum() {

0 commit comments

Comments
 (0)