From 9efbd41d494d122482ef9189b0a124b91aadc20d Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Mon, 6 Apr 2009 15:45:39 -0700 Subject: [PATCH] [Sass] Add a failing test for an @import failing case we missed. --- test/sass/engine_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/sass/engine_test.rb b/test/sass/engine_test.rb index a73103c8..61825bae 100755 --- a/test/sass/engine_test.rb +++ b/test/sass/engine_test.rb @@ -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'.",