summaryrefslogtreecommitdiff
path: root/test/rake/test_rake_file_list_path_map.rb
blob: 5935dc268979d88919bc4735c7ace2d0198e9608 (plain)
1
2
3
4
5
6
7
8
require File.expand_path('../helper', __FILE__)

class TestRakeFileListPathMap < Rake::TestCase
  def test_file_list_supports_pathmap
    assert_equal ['a', 'b'], FileList['dir/a.rb', 'dir/b.rb'].pathmap("%n")
  end
end