summaryrefslogtreecommitdiff
path: root/test/ruby/test_trace.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_trace.rb')
-rw-r--r--test/ruby/test_trace.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/ruby/test_trace.rb b/test/ruby/test_trace.rb
index 77be94e9be..5842f11aee 100644
--- a/test/ruby/test_trace.rb
+++ b/test/ruby/test_trace.rb
@@ -20,17 +20,6 @@ class TestTrace < Test::Unit::TestCase
untrace_var :$x
end
- def test_trace_tainted_proc
- $x = 1234
- s = proc { $y = :foo }
- trace_var :$x, s
- s.taint
- $x = 42
- assert_equal(:foo, $y)
- ensure
- untrace_var :$x
- end
-
def test_trace_proc_that_raises_exception
$x = 1234
trace_var :$x, proc { raise }