Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

additional colour code matcher required, highlighted by ruby 1.8.7 pa…

…tch 330 which returns a different line information string, was caught by a .* on ruby 1.9.2
  • Loading branch information...
commit 8e6070343a92defde09c4c4317b683ad9e54c241 1 parent 88af108
Jon Rowe authored

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

  1. +1 1  lib/autotest/rspec2.rb
2  lib/autotest/rspec2.rb
@@ -19,7 +19,7 @@ def initialize
19 19
20 20 # Example for Ruby 1.8: http://rubular.com/r/AOXNVDrZpx
21 21 # Example for Ruby 1.9: http://rubular.com/r/85ag5AZ2jP
22   - self.failed_results_re = /^\s*\d+\).*\n\s+(?:\e\[\d*m)?Failure.*(\n(?:\e\[\d*m)?\s+#\s(.*)?:\d+(?::.*)?)+$/m
  22 + self.failed_results_re = /^\s*\d+\).*\n\s+(?:\e\[\d*m)?Failure.*(\n(?:\e\[\d*m)?\s+#\s(.*)?:\d+(?::.*)?(?:\e\[\d*m)?)+$/m
23 23 self.completed_re = /\n(?:\e\[\d*m)?\d* examples?/m
24 24 end
25 25

0 comments on commit 8e60703

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