Add one more test to make sure a more complex query param is handled
This commit is contained in:
parent
fac1a2c1ef
commit
1fb9e7adba
@ -134,6 +134,10 @@ class SassExtensionsTest < Test::Unit::TestCase
|
|||||||
evaluate("font-files('/font/name.eot?#iefix')")
|
evaluate("font-files('/font/name.eot?#iefix')")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
assert_nothing_raised Sass::SyntaxError do
|
||||||
|
evaluate("font-files('/font/name.svg?mightbedynamic=something%20+escaped#fontId')")
|
||||||
|
end
|
||||||
|
|
||||||
assert_raises Sass::SyntaxError do
|
assert_raises Sass::SyntaxError do
|
||||||
evaluate("font-files('/font/name.ext')")
|
evaluate("font-files('/font/name.ext')")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user