diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-18 11:53:14 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-18 11:53:14 +0000 |
commit | d191339b9eea8ae1e3500f75ec539e5d4ea03b00 (patch) | |
tree | 97c12a96f408cb7fbe8bd1a5b4db54611bf597b4 /test | |
parent | 15f641a5f5c700603b81042bd39822b9b8c6296f (diff) |
Revert r62426
it cause test failure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_syntax.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb index 8bf1627f3b..aa82f52987 100644 --- a/test/ruby/test_syntax.rb +++ b/test/ruby/test_syntax.rb @@ -1128,15 +1128,6 @@ eom assert_equal(:begin, result) end - def test_return_in_loop - obj = Object.new - def obj.test - x = nil - return until x unless x - end - assert_nil obj.test - end - private def not_label(x) @result = x; @not_label ||= nil end |