test/sass/engine_test.rb in sass-3.2.0.alpha.95 vs test/sass/engine_test.rb in sass-3.2.0.alpha.96

- old
+ new

@@ -104,9 +104,11 @@ "@function foo()\n @return" => 'Invalid @return: expected expression.', "@function foo()\n @return 1\n $var: val" => 'Illegal nesting: Nothing may be nested beneath return directives.', "foo\n @function bar()\n @return 1" => ['Functions may only be defined at the root of a document.', 2], "@function foo($a)\n @return 1\na\n b: foo()" => 'Function foo is missing parameter $a.', "@function foo()\n @return 1\na\n b: foo(2)" => 'Wrong number of arguments (1 for 0) for `foo\'', + "@function foo()\n @return 1\na\n b: foo($a: 1)" => "Function foo doesn't have an argument named $a", + "@function foo()\n @return 1\na\n b: foo($a: 1, $b: 2)" => "Function foo doesn't have the following arguments: $a, $b", "@return 1" => '@return may only be used within a function.', "@if true\n @return 1" => '@return may only be used within a function.', "@mixin foo\n @return 1\n@include foo" => ['@return may only be used within a function.', 2], "@else\n a\n b: c" => ["@else must come after @if.", 1], "@if false\n@else foo" => "Invalid else directive '@else foo': expected 'if <expr>'.",