Skip to content

Commit

Permalink
Updated fix for path statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimweirich committed Sep 5, 2009
1 parent c65e08f commit 301828f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/testtask_test.rb
Expand Up @@ -36,8 +36,8 @@ def test_nested_libs_will_be_flattened
test_task = Rake::TestTask.new(:tx) do |t|
t.libs << ["A", "B"]
end
expected = %w(lib A B).join(File::PATH_SEPARATOR)
assert_match(/#{expected}/, test_task.ruby_opts_string)
sep = File::PATH_SEPARATOR
assert_match(/lib#{sep}A#{sep}B/, test_task.ruby_opts_string)
end

def test_empty_lib_path_implies_no_dash_I_option
Expand Down

0 comments on commit 301828f

Please sign in to comment.