File: test_rake_file_list_path_map.rb

package info (click to toggle)
rake 10.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,060 kB
  • ctags: 1,196
  • sloc: ruby: 9,141; ansic: 19; sh: 15; makefile: 8
file content (8 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (8)
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