mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
f667d3afc9
commit
7b6c5f9b5b
1 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,9 @@ class TestERB < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_concurrent_default_binding
|
||||
# This test randomly fails with JRuby -- NameError: undefined local variable or method `template2'
|
||||
pend if RUBY_ENGINE == 'jruby'
|
||||
|
||||
template1 = 'one <%= ERB.new(template2).result %>'
|
||||
|
||||
eval 'template2 = "two"', TOPLEVEL_BINDING
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue