From 13ddb8b3e97220ac347cbaf669c745c707bbe5ad Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 3 Oct 2009 14:47:46 +0000 Subject: * test/rake: get rid of name collision. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rake/test_pathmap.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/rake/test_pathmap.rb') diff --git a/test/rake/test_pathmap.rb b/test/rake/test_pathmap.rb index 3e9935f9b..257529ab8 100644 --- a/test/rake/test_pathmap.rb +++ b/test/rake/test_pathmap.rb @@ -2,7 +2,7 @@ require 'test/unit' require 'rake' # ==================================================================== -class TestPathMap < Test::Unit::TestCase +class Rake::TestPathMap < Test::Unit::TestCase def test_returns_self_with_no_args assert_equal "abc.rb", "abc.rb".pathmap @@ -157,7 +157,7 @@ class TestPathMap < Test::Unit::TestCase end end -class TestPathMapExplode < Test::Unit::TestCase +class Rake::TestPathMapExplode < Test::Unit::TestCase def setup String.class_eval { public :pathmap_explode } end @@ -184,7 +184,7 @@ class TestPathMapExplode < Test::Unit::TestCase end end -class TestPathMapPartial < Test::Unit::TestCase +class Rake::TestPathMapPartial < Test::Unit::TestCase def test_pathmap_partial @path = "1/2/file" def @path.call(n) @@ -200,7 +200,7 @@ class TestPathMapPartial < Test::Unit::TestCase end end -class TestFileListPathMap < Test::Unit::TestCase +class Rake::TestFileListPathMap < Test::Unit::TestCase def test_file_list_supports_pathmap assert_equal ['a', 'b'], FileList['dir/a.rb', 'dir/b.rb'].pathmap("%n") end -- cgit