diff --git a/test/html5/test_scrub.rb b/test/html5/test_scrub.rb
index 50bead9f..84e17b69 100644
--- a/test/html5/test_scrub.rb
+++ b/test/html5/test_scrub.rb
@@ -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