diff --git a/spec/directives/at_root.hrx b/spec/directives/at_root.hrx index ddef1f01e..bcd185bda 100644 --- a/spec/directives/at_root.hrx +++ b/spec/directives/at_root.hrx @@ -1,3 +1,32 @@ +<===> sass/empty/no_query/input.sass +@at-root + +<===> sass/empty/no_query/output.css + +<===> +================================================================================ +<===> sass/empty/query/input.sass +@at-root (with: rule) + +<===> sass/empty/query/output.css + +<===> +================================================================================ +<===> sass/empty/selector/input.sass +@at-root a + +<===> sass/empty/selector/output.css + +<===> sass/empty/selector/warning +WARNING on line 1, column 10 of input.sass: +This selector doesn't have any properties and won't be rendered. + , +1 | @at-root a + | ^ + ' + +<===> +================================================================================ <===> keyframes/all/input.scss @keyframes a { @at-root (without: all) {