From a9809a6d666f338b10b7d5cecdff892b105cb346 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 2 Apr 2025 17:16:14 -0700 Subject: Fix inconsistent indentation --- zjit/src/hir.rs | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/zjit/src/hir.rs b/zjit/src/hir.rs index 6811561080..64c6ae55f4 100644 --- a/zjit/src/hir.rs +++ b/zjit/src/hir.rs @@ -2352,13 +2352,13 @@ mod tests { fn test_loop() { eval(" def test - result = 0 - times = 10 - while times > 0 - result = result + 1 - times = times - 1 - end - result + result = 0 + times = 10 + while times > 0 + result = result + 1 + times = times - 1 + end + result end test "); @@ -2416,12 +2416,12 @@ mod tests { fn test_display_types() { eval(" def test - cond = true - if cond - 3 - else - 4 - end + cond = true + if cond + 3 + else + 4 + end end "); assert_method_hir("test", expect![[r#" @@ -2520,12 +2520,12 @@ mod opt_tests { fn test_fold_iftrue_away() { eval(" def test - cond = true - if cond - 3 - else - 4 - end + cond = true + if cond + 3 + else + 4 + end end "); assert_optimized_method_hir("test", expect![[r#" @@ -2540,12 +2540,12 @@ mod opt_tests { fn test_fold_iftrue_into_jump() { eval(" def test - cond = false - if cond - 3 - else - 4 - end + cond = false + if cond + 3 + else + 4 + end end "); assert_optimized_method_hir("test", expect![[r#" @@ -2563,7 +2563,7 @@ mod opt_tests { fn test_fold_fixnum_add() { eval(" def test - 1 + 2 + 3 + 1 + 2 + 3 end test; test "); -- cgit v1.2.3