From 53c8f4146c885f0c1bf25fa8088adc604bbf6d99 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Fri, 5 Apr 2019 00:44:52 +0100 Subject: [PATCH] Add test for sass/libsass#2786 (#1370) --- 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..fc6b7e76b9 --- /dev/null +++ b/spec/directives/supports.hrx @@ -0,0 +1,24 @@ +<===> error/syntax/trailing_or/input.scss +@supports (a: b) or {} + +<===> error/syntax/trailing_or/error +Error: expected "(". + , +3 | @supports (a: b) or {} + | ^ + ' + /sass/spec/directives/supports/error/syntax/trailing_or/input.scss 1:21 root stylesheet + +<===> error/syntax/trailing_or/error-libsass +Error: Invalid CSS after "...orts (a: b) or ": expected @supports condition (e.g. (display: flexbox)), was "{}" + on line 1:20 of /sass/spec/directives/supports/error/syntax/trailing_or/input.scss +>> @supports (a: b) or { + + -----------------------^ + +<===> error/syntax/trailing_or/error-ruby-sass +Error: Invalid CSS after "...orts (a: b) or ": expected @supports condition (e.g. (display: flexbox)), was "{}" + on line 1:20 of /sass/spec/directives/supports/error/syntax/trailing_or/input.scss +>> @supports (a: b) or { + + -----------------------^