test/duplicate_names_test.rb in ruby-prof-0.15.2 vs test/duplicate_names_test.rb in ruby-prof-0.15.3
- old
+ new
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
# encoding: UTF-8
require File.expand_path('../test_helper', __FILE__)
-class DuplicateNames < Test::Unit::TestCase
+class DuplicateNames < TestCase
def test_names
result = RubyProf::profile do
str = %{module Foo; class Bar; def foo; end end end}
eval str