We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a09875 commit d770791Copy full SHA for d770791
1 file changed
lib/pact/term.rb
@@ -29,7 +29,7 @@ def initialize(attributes = {})
29
@matcher = attributes[:matcher]
30
raise Pact::Error.new("Please specify a matcher for the Term") unless @matcher != nil
31
raise Pact::Error.new("Please specify a value to generate for the Term") unless @generate != nil
32
- raise Pact::Error.new("Value to generate \"#{@generate}\" does not match regular expression #{@matcher.inspect}") unless @generate =~ @matcher
+ raise Pact::Error.new("Value to generate '#{@generate}' does not match regular expression #{@matcher.inspect}") unless @generate =~ @matcher
33
end
34
35
def to_hash
0 commit comments