Skip to content

Commit 096702b

Browse files
committed
Remove mismatched indentations warning
1 parent 8099e9d commit 096702b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

test/ruby/test_zjit.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,20 +1081,20 @@ def test(x)
10811081
end
10821082

10831083
def test_opt_duparray_send_include_p_redefined
1084-
assert_compiles '[:true, :false]', %q{
1085-
class Array
1086-
alias_method :old_include?, :include?
1087-
def include?(x)
1088-
old_include?(x) ? :true : :false
1089-
end
1084+
assert_compiles '[:true, :false]', %q{
1085+
class Array
1086+
alias_method :old_include?, :include?
1087+
def include?(x)
1088+
old_include?(x) ? :true : :false
10901089
end
1090+
end
10911091
1092-
def test(x)
1093-
[:y, 1].include?(x)
1094-
end
1095-
[test(1), test("n")]
1096-
}, insns: [:opt_duparray_send], call_threshold: 1
1097-
end
1092+
def test(x)
1093+
[:y, 1].include?(x)
1094+
end
1095+
[test(1), test("n")]
1096+
}, insns: [:opt_duparray_send], call_threshold: 1
1097+
end
10981098

10991099
def test_opt_newarray_send_hash
11001100
assert_compiles 'Integer', %q{

0 commit comments

Comments
 (0)