Add one more test to make sure a more complex query param is handled

This commit is contained in:
Maxime Thirouin 2012-03-13 22:20:19 +01:00
parent fac1a2c1ef
commit 1fb9e7adba

View File

@ -134,6 +134,10 @@ class SassExtensionsTest < Test::Unit::TestCase
evaluate("font-files('/font/name.eot?#iefix')")
end
assert_nothing_raised Sass::SyntaxError do
evaluate("font-files('/font/name.svg?mightbedynamic=something%20+escaped#fontId')")
end
assert_raises Sass::SyntaxError do
evaluate("font-files('/font/name.ext')")
end