Permalink
Browse files

- Fixed stupid 1.9 path handling grumble grumble. (graaff)

[git-p4: depot-paths = "//src/minitest/dev/": change = 6854]
  • Loading branch information...
1 parent 14e22bb commit b3a78e735da099f21d77f55d1d410a1db0b1fe1a @zenspider zenspider committed Dec 28, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 test/metametameta.rb
View
@@ -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

0 comments on commit b3a78e7

Please sign in to comment.