summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_settracefunc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb
index 9894745b6c..f4975cd333 100644
--- a/test/ruby/test_settracefunc.rb
+++ b/test/ruby/test_settracefunc.rb
@@ -694,7 +694,7 @@ class TestSetTraceFunc < Test::Unit::TestCase
def test_tracepoint_return_value
trace = TracePoint.new(:call, :return){|tp|
- break if tp.path != __FILE__
+ next if tp.path != __FILE__
case tp.event
when :call
assert_raise(RuntimeError) {tp.return_value}