lib/pact/matchers/unix_diff_formatter.rb in pact-1.1.0 vs lib/pact/matchers/unix_diff_formatter.rb in pact-1.1.1
- old
+ new
@@ -22,10 +22,10 @@
end
def to_s
expected = generate_string(diff, :expected)
actual = generate_string(diff, :actual)
- Pact::Matchers::Differ.new(@colour).diff_as_string actual, expected
+ Pact::Matchers::Differ.new(@colour).diff_as_string(actual, expected).lstrip
end
private
def handle thing, target
\ No newline at end of file