1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Sass] Add a failing test for an @import failing case we missed.

This commit is contained in:
Nathan Weizenbaum 2009-04-06 15:45:39 -07:00
parent 64dd9cc49c
commit 9efbd41d49

View file

@ -51,6 +51,7 @@ END
"@import foo.sass" => "File to import not found or unreadable: foo.sass.",
"@import templates/basic\n foo" => "Illegal nesting: Nothing may be nested beneath import directives.",
"foo\n @import templates/basic" => "Import directives may only be used at the root of a document.",
"foo\n @import #{File.dirname(__FILE__)}/templates/basic" => "Import directives may only be used at the root of a document.",
"!foo = bar baz !" => "Unterminated constant.",
"!foo = !(foo)" => "Invalid constant.",
"=foo\n :color red\n.bar\n +bang" => "Undefined mixin 'bang'.",