From 1fb9e7adba26a9c25dd1a425e7dd325aeedd4d6b Mon Sep 17 00:00:00 2001 From: Maxime Thirouin Date: Tue, 13 Mar 2012 22:20:19 +0100 Subject: [PATCH] Add one more test to make sure a more complex query param is handled --- test/units/sass_extensions_test.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/units/sass_extensions_test.rb b/test/units/sass_extensions_test.rb index 99194ddd..67ffb895 100644 --- a/test/units/sass_extensions_test.rb +++ b/test/units/sass_extensions_test.rb @@ -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