Skip to content

Commit

Permalink
Fix test for style attribute scrubbing
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Apr 22, 2019
1 parent f906bcf commit 6e623b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/html5/test_scrub.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class UnitHTML5Scrub < Loofah::TestCase
include Loofah

def test_scrub_css
assert Loofah::HTML5::Scrub.scrub_css("background: #ABC012"), "background: #ABC012"
assert Loofah::HTML5::Scrub.scrub_css("background: #abc012"), "background: #abc012"
assert_equal Loofah::HTML5::Scrub.scrub_css("background: #ABC012"), "background:#ABC012;"
assert_equal Loofah::HTML5::Scrub.scrub_css("background: #abc012"), "background:#abc012;"
end
end

0 comments on commit 6e623b8

Please sign in to comment.