Skip to content

Commit 48a7566

Browse files
committed
Skip a test for JRuby
1 parent 65a7c70 commit 48a7566

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/erb/test_erb.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ def test_html_escape
7979
end
8080

8181
def test_concurrent_default_binding
82+
# This test randomly fails with JRuby -- NameError: undefined local variable or method `template2'
83+
pend if RUBY_ENGINE == 'jruby'
84+
8285
template1 = 'one <%= ERB.new(template2).result %>'
8386

8487
eval 'template2 = "two"', TOPLEVEL_BINDING

0 commit comments

Comments
 (0)