aboutsummaryrefslogtreecommitdiffstats
path: root/test/testunit/collector/test_dir.rb
diff options
context:
space:
mode:
authorntalbott <ntalbott@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-20 23:29:49 +0000
committerntalbott <ntalbott@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-20 23:29:49 +0000
commit25ac9f24fdcda84e16615dafa868cc0d361492be (patch)
tree076ffdef0450c26b567ee5c4c3d8ef9f8db44ada /test/testunit/collector/test_dir.rb
parented224698b56a06808c98b1db393eea5b84a20f09 (diff)
downloadruby-25ac9f24fdcda84e16615dafa868cc0d361492be.tar.gz
* test/testunit/collector/test_dir.rb: Fixed test/unit tests that
were breaking due to Module#public_instance_methods now returning a Symbol instead of a String. * test/testunit/collector/test_objectspace.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit/collector/test_dir.rb')
-rw-r--r--test/testunit/collector/test_dir.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testunit/collector/test_dir.rb b/test/testunit/collector/test_dir.rb
index 99fb3de112..3e5546943c 100644
--- a/test/testunit/collector/test_dir.rb
+++ b/test/testunit/collector/test_dir.rb
@@ -394,7 +394,7 @@ module Test
def test_filtering
expected = TestSuite.new('.')
expected << @t1.suite
- @c.filter = proc{|t| t.method_name == 'test_1a' || t.method_name == 'test_1b'}
+ @c.filter = proc{|t| t.method_name == :test_1a || t.method_name == :test_1b}
assert_equal(expected, @c.collect)
end