summaryrefslogtreecommitdiff
path: root/test/coverage/test_coverage.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/coverage/test_coverage.rb')
-rw-r--r--test/coverage/test_coverage.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/coverage/test_coverage.rb b/test/coverage/test_coverage.rb
index 56966b1..d5091f3 100644
--- a/test/coverage/test_coverage.rb
+++ b/test/coverage/test_coverage.rb
@@ -15,29 +15,4 @@ class TestCoverage < Test::Unit::TestCase
assert_kind_of(Array, val)
end
end
-
- def test_restarting_coverage
- loaded_features = $".dup
-
- Dir.mktmpdir {|tmp|
- Dir.chdir(tmp) {
- File.open("test.rb", "w") do |f|
- f.puts <<-EOS
- def coverage_test_method
- :ok
- end
- EOS
- end
-
- Coverage.start
- require tmp + '/test.rb'
- Coverage.result
- Coverage.start
- coverage_test_method
- assert_equal 1, Coverage.result.size
- }
- }
- ensure
- $".replace loaded_features
- end
end