Skip to content

Commit a9809a6

Browse files
committed
Fix inconsistent indentation
1 parent e9f6863 commit a9809a6

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

zjit/src/hir.rs

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,13 +2352,13 @@ mod tests {
23522352
fn test_loop() {
23532353
eval("
23542354
def test
2355-
result = 0
2356-
times = 10
2357-
while times > 0
2358-
result = result + 1
2359-
times = times - 1
2360-
end
2361-
result
2355+
result = 0
2356+
times = 10
2357+
while times > 0
2358+
result = result + 1
2359+
times = times - 1
2360+
end
2361+
result
23622362
end
23632363
test
23642364
");
@@ -2416,12 +2416,12 @@ mod tests {
24162416
fn test_display_types() {
24172417
eval("
24182418
def test
2419-
cond = true
2420-
if cond
2421-
3
2422-
else
2423-
4
2424-
end
2419+
cond = true
2420+
if cond
2421+
3
2422+
else
2423+
4
2424+
end
24252425
end
24262426
");
24272427
assert_method_hir("test", expect![[r#"
@@ -2520,12 +2520,12 @@ mod opt_tests {
25202520
fn test_fold_iftrue_away() {
25212521
eval("
25222522
def test
2523-
cond = true
2524-
if cond
2525-
3
2526-
else
2527-
4
2528-
end
2523+
cond = true
2524+
if cond
2525+
3
2526+
else
2527+
4
2528+
end
25292529
end
25302530
");
25312531
assert_optimized_method_hir("test", expect![[r#"
@@ -2540,12 +2540,12 @@ mod opt_tests {
25402540
fn test_fold_iftrue_into_jump() {
25412541
eval("
25422542
def test
2543-
cond = false
2544-
if cond
2545-
3
2546-
else
2547-
4
2548-
end
2543+
cond = false
2544+
if cond
2545+
3
2546+
else
2547+
4
2548+
end
25492549
end
25502550
");
25512551
assert_optimized_method_hir("test", expect![[r#"
@@ -2563,7 +2563,7 @@ mod opt_tests {
25632563
fn test_fold_fixnum_add() {
25642564
eval("
25652565
def test
2566-
1 + 2 + 3
2566+
1 + 2 + 3
25672567
end
25682568
test; test
25692569
");

0 commit comments

Comments
 (0)