diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-03 14:47:46 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-03 14:47:46 +0000 |
| commit | 13ddb8b3e97220ac347cbaf669c745c707bbe5ad (patch) | |
| tree | f3bb9e0276fdd897b05666462bca439e861173d1 /test/rake/test_pathmap.rb | |
| parent | c21fd784c3ae1f072a7f3f25c654037108880e7a (diff) | |
| download | ruby-13ddb8b3e97220ac347cbaf669c745c707bbe5ad.tar.gz ruby-13ddb8b3e97220ac347cbaf669c745c707bbe5ad.tar.xz ruby-13ddb8b3e97220ac347cbaf669c745c707bbe5ad.zip | |
* test/rake: get rid of name collision.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rake/test_pathmap.rb')
| -rw-r--r-- | test/rake/test_pathmap.rb | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
