Skip to content

Commit d770791

Browse files
committed
fix: use single quotes for pact term creation err msg
fixes #46
1 parent 7a09875 commit d770791

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/pact/term.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def initialize(attributes = {})
2929
@matcher = attributes[:matcher]
3030
raise Pact::Error.new("Please specify a matcher for the Term") unless @matcher != nil
3131
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
32+
raise Pact::Error.new("Value to generate '#{@generate}' does not match regular expression #{@matcher.inspect}") unless @generate =~ @matcher
3333
end
3434

3535
def to_hash

0 commit comments

Comments
 (0)