mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (string_content): get rid of segfault at empty evstr.
fixed: [ruby-dev:25113] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ec8d7f3672
commit
e41a1c0f10
3 changed files with 10 additions and 1 deletions
|
@ -60,4 +60,8 @@ class TestSystem < Test::Unit::TestCase
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
def test_empty_evstr # [ruby-dev:25113]
|
||||
assert_equal("", eval('"#{}"', nil, __FILE__, __LINE__))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue