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:
parent
64dd9cc49c
commit
9efbd41d49
1 changed files with 1 additions and 0 deletions
|
@ -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'.",
|
||||
|
|
Loading…
Add table
Reference in a new issue