Author: lacton
Date: Sun Aug 31 11:30:40 2008
New Revision: 690750
URL: http://svn.apache.org/viewvc?rev=690750&view=rev
Log:
Log message matcher should accept both RegExp and String.
'failure_message' method was not able to handle a String.
Modified:
incubator/buildr/trunk/spec/spec_helpers.rb
Modified: incubator/buildr/trunk/spec/spec_helpers.rb
URL:
http://svn.apache.org/viewvc/incubator/buildr/trunk/spec/spec_helpers.rb?rev=690750&r1=690749&r2=690750&view=diff
==============================================================================
--- incubator/buildr/trunk/spec/spec_helpers.rb (original)
+++ incubator/buildr/trunk/spec/spec_helpers.rb Sun Aug 31 11:30:40 2008
@@ -57,7 +57,7 @@
end
def failure_message
- "Expected [EMAIL PROTECTED] '[EMAIL PROTECTED]', " +
+ "Expected [EMAIL PROTECTED] [EMAIL PROTECTED], " +
([EMAIL PROTECTED] ? "no [EMAIL PROTECTED] issued" : "found [EMAIL
PROTECTED]")
end