Permalink
Browse files

For svn files also spilt required

  • Loading branch information...
1 parent 7d9cf9a commit 0fb09732488817fc7b3569817161d35b5636e54c @arunagw arunagw committed Jul 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/test_unit/testing.rake
@@ -108,7 +108,7 @@ namespace :test do
Rake::TestTask.new(:uncommitted => "test:prepare") do |t|
def t.file_list
if File.directory?(".svn")
- changed_since_checkin = silence_stderr { `svn status` }.map { |path| path.chomp[7 .. -1] }
+ changed_since_checkin = silence_stderr { `svn status` }.split.map { |path| path.chomp[7 .. -1] }
elsif File.directory?(".git")
changed_since_checkin = silence_stderr { `git ls-files --modified --others` }.split.map { |path| path.chomp }
else

0 comments on commit 0fb0973

Please sign in to comment.