diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-13 05:24:26 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-13 05:24:26 +0000 |
commit | a747366aec6a83103bda6572d06bc4979ffa3f49 (patch) | |
tree | af0909ff3a35c3e7d7f997013cdced781350640f /test/erb | |
parent | 51f64b032a93d9521962e0ea11fa77536c8df602 (diff) |
reverted r38318.
rubyspec reports that there is incompatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/erb')
-rw-r--r-- | test/erb/test_erb.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/erb/test_erb.rb b/test/erb/test_erb.rb index 6fe59a68b6..05d255623a 100644 --- a/test/erb/test_erb.rb +++ b/test/erb/test_erb.rb @@ -1,4 +1,3 @@ -# -*- coding: us-ascii -*- require 'test/unit' require 'erb' @@ -38,15 +37,6 @@ class TestERB < Test::Unit::TestCase } assert_match(/\Atest filename:1\b/, e.backtrace[0]) end - - def test_concurrent_default_binding - template1 = 'one <%= ERB.new(template2).result %>' - - eval 'template2 = "two"', TOPLEVEL_BINDING - - bug7046 = '[ruby-core:47638]' - assert_equal("one two", ERB.new(template1).result, bug7046) - end end class TestERBCore < Test::Unit::TestCase |