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 bec939c commit 3fd5183Copy full SHA for 3fd5183
test/test_helper.rb
@@ -79,8 +79,8 @@ def assert_equivalent_html(expected, actual)
79
assert equivalent, lambda {
80
# using a lambda because diffing is expensive
81
Diffy::Diff.new(
82
- expected_html.to_html(indent: 2),
83
- actual_html.to_html(indent: 2)
+ HtmlBeautifier.beautify(expected_html.to_html(indent: 2)),
+ HtmlBeautifier.beautify(actual_html.to_html(indent: 2))
84
).to_s(:color)
85
}
86
end
0 commit comments