lib/matchi/predicate.rb in matchi-3.3.0 vs lib/matchi/predicate.rb in matchi-3.3.1
- old
+ new
@@ -63,10 +63,10 @@
end
# Returns a string representing the matcher.
def to_s
(
- "#{@name.tr('_', ' ')} " + [
+ "#{@name.tr("_", " ")} " + [
@args.map(&:inspect).join(", "),
@kwargs.map { |k, v| "#{k}: #{v.inspect}" }.join(", "),
(@block.nil? ? "" : "&block")
].reject { |i| i.eql?("") }.join(", ")
).strip