From 812cb78bc53e1af6706144a56a925770e74eb906 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Thu, 4 Apr 2019 20:14:11 +0100 Subject: [PATCH] Add test for sass/libsass#2786 --- spec/directives/supports.hrx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 spec/directives/supports.hrx diff --git a/spec/directives/supports.hrx b/spec/directives/supports.hrx new file mode 100644 index 0000000000..afc745a883 --- /dev/null +++ b/spec/directives/supports.hrx @@ -0,0 +1,24 @@ +<===> error/syntax/input.scss +@supports (a: b) or {} + +<===> error/syntax/error +Error: expected "(". + , +3 | @supports (a: b) or { + | ^ + ' + /sass/spec/directives/supports/error/syntax/input.scss 1:25 root stylesheet + +<===> error/syntax/error-libsass +Error: Invalid CSS after "...orts (a: b) or ": expected @supports condition (e.g. (display: flexbox)), was "{" + on line 1:24 of /sass/spec/directives/supports/error/syntax/input.scss +>> @supports (a: b) or { + + -----------------------^ + +<===> error/syntax/error-ruby-sass +Error: Invalid CSS after "...orts (a: b) or ": expected @supports condition (e.g. (display: flexbox)), was "{" + on line 1:24 of /sass/spec/directives/supports/error/syntax/input.scss +>> @supports (a: b) or { + + -----------------------^