Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
- Fixed stupid 1.9 path handling grumble grumble. (graaff)
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/minitest/dev/": change = 6854]
  • Loading branch information
zenspider committed Dec 28, 2011
1 parent 14e22bb commit b3a78e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/metametameta.rb
Expand Up @@ -19,9 +19,8 @@ def assert_report expected = nil
output = @output.string.dup
output.sub!(/Finished tests in .*/, "Finished tests in 0.00")
output.sub!(/Loaded suite .*/, 'Loaded suite blah')
output.gsub!(/[\w\/]+\/test\/[^:]+:\d+/, 'FILE:LINE')
output.gsub!(/(?:.\/)?test\/[^:]+:\d+/, 'FILE:LINE')
output.gsub!(/\[[^\]]+\]/, '[FILE:LINE]')
output.gsub!(/\[[^\]:]+:\d+\]/, '[FILE:LINE]')
output.gsub!(/^(\s+)[^:]+:\d+:in/, '\1FILE:LINE:in')
assert_equal(expected, output)
end

Expand Down

0 comments on commit b3a78e7

Please sign in to comment.