Skip to content

Commit a8fd6cd

Browse files
committed
Workaround unsupported syntax in MRI tests
1 parent 88d9976 commit a8fd6cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mri/tests/error_highlight/test_error_highlight.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ def test_simulate_funcallv_from_embedded_ruby
12071207

12081208
nil.foo + 1
12091209
rescue NoMethodError => exc
1210-
def exc.backtrace_locations = []
1210+
def exc.backtrace_locations; []; end
12111211
raise
12121212
end
12131213
end

0 commit comments

Comments
 (0)