summaryrefslogtreecommitdiff
path: root/test/ruby/test_syntax.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_syntax.rb')
-rw-r--r--test/ruby/test_syntax.rb9
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