Skip to content
This repository
Browse code

Use : as file separator when passing args to rcov.

This is based on rcov's own command line documentation.

- Closes #307.
- Reverses #289.
  • Loading branch information...
commit 06b4122cf4ebfb80fb1d6e08430d8274afb34b65 1 parent 7cf6233
David Chelimsky authored August 24, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/rspec/core/rake_task.rb
2  lib/rspec/core/rake_task.rb
@@ -163,7 +163,7 @@ def spec_command
163 163
                             cmd_parts << "-S"
164 164
                             cmd_parts << runner
165 165
                             if rcov
166  
-                              cmd_parts << ["-Ispec#{File::PATH_SEPARATOR}lib", rcov_opts]
  166
+                              cmd_parts << ["-Ispec:lib", rcov_opts]
167 167
                             else
168 168
                               cmd_parts << rspec_opts
169 169
                             end

0 notes on commit 06b4122

Please sign in to comment.
Something went wrong with that request. Please try again.