Skip to content

Commit

Permalink
Use proper system path separator in test.
Browse files Browse the repository at this point in the history
Provided by luis lavena.
  • Loading branch information
jimweirich committed Nov 11, 2012
1 parent 95ca347 commit 31ffd94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_rake_application_options.rb
Expand Up @@ -146,7 +146,8 @@ def test_rakefile
end

def test_rakelib
flags(['--rakelibdir', 'A:B:C'], ['--rakelibdir=A:B:C'], ['-R', 'A:B:C'], ['-RA:B:C']) do |opts|
dirs = %w(A B C).join(File::PATH_SEPARATOR)
flags(['--rakelibdir', dirs], ["--rakelibdir=#{dirs}"], ['-R', dirs], ["-R#{dirs}"]) do |opts|
assert_equal ['A', 'B', 'C'], opts.rakelib
end
end
Expand Down

0 comments on commit 31ffd94

Please sign in to comment.