Skip to content

Commit

Permalink
style: fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Nov 25, 2020
1 parent 324640c commit d0a729c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/html5/test_sanitizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ def test_css_page_break_inside
assert_match %r/page-break-inside:auto/, sane.inner_html
end


def test_css_align_content
html = '<div style="align-content:flex-start;"></div>'
sane = Nokogiri::HTML(Loofah.scrub_fragment(html, :escape).to_xml)
Expand All @@ -420,7 +419,7 @@ def test_css_flex
html = '<div style="flex:none;"></div>'
sane = Nokogiri::HTML(Loofah.scrub_fragment(html, :escape).to_xml)
assert_match %r/flex:none/, sane.inner_html
end
end

def test_css_flex_basis
html = '<div style="flex-basis:auto;"></div>'
Expand Down Expand Up @@ -468,7 +467,7 @@ def test_css_order
html = '<div style="order:5;"></div>'
sane = Nokogiri::HTML(Loofah.scrub_fragment(html, :escape).to_xml)
assert_match %r/order:5/, sane.inner_html
end
end

def test_issue_90_slow_regex
skip("timing tests are hard to make pass and have little regression-testing value")
Expand Down

0 comments on commit d0a729c

Please sign in to comment.