Created
November 11, 2012 04:28
-
-
Save luislavena/4053715 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/test_rake_application_options.rb b/test/test_rake_application_options.rb | |
index 0ab3c1d..d08dd86 100644 | |
--- a/test/test_rake_application_options.rb | |
+++ b/test/test_rake_application_options.rb | |
@@ -145,7 +145,8 @@ class TestRakeApplicationOptions < Rake::TestCase | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/test_rake_functional.rb b/test/test_rake_functional.rb | |
index 710b094..ad59f7b 100644 | |
--- a/test/test_rake_functional.rb | |
+++ b/test/test_rake_functional.rb | |
@@ -435,7 +435,7 @@ class TestRakeFunctional < Rake::TestCase | |
assert_match(/ATEST/, @out) | |
refute_match(/BTEST/, @out) | |
else | |
- puts "\nWARNING: Signal detect seems broken on this system (#{__FILE__}:#{__LINE__})" | |
+ skip "Signal detect seems broken on this system" | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment