diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-02 22:56:24 -0700 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-11-03 05:58:14 +0000 |
commit | 7b6c5f9b5b16d244268f700aa5cd60bdde3e34d6 (patch) | |
tree | 1fac25ffd30f7c0c4ac7d382cc5593a2dd65ebbb | |
parent | f667d3afc9096ea32f6f84204529b95099062e86 (diff) |
[ruby/erb] Skip a test for JRuby
https://github.com/ruby/erb/commit/48a75665ab
-rw-r--r-- | test/erb/test_erb.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/erb/test_erb.rb b/test/erb/test_erb.rb index 5be5ed7e09..424ddae87e 100644 --- a/test/erb/test_erb.rb +++ b/test/erb/test_erb.rb @@ -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 |