From 3d7529db5a1dc7a25ad7b49bc3adfc1914efaa06 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/libsass-closed-issues/issue_2786.hrx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 spec/libsass-closed-issues/issue_2786.hrx diff --git a/spec/libsass-closed-issues/issue_2786.hrx b/spec/libsass-closed-issues/issue_2786.hrx new file mode 100644 index 0000000000..a69e791228 --- /dev/null +++ b/spec/libsass-closed-issues/issue_2786.hrx @@ -0,0 +1,19 @@ +<===> input.scss +@supports (foo: bar) or { +} + +<===> status +65 + +<===> error +Error: Invalid CSS after "... (foo: bar) or ": expected @supports condition (e.g. (display: flexbox)), was "{" + on line 1:24 of /sass/spec/libsass-issues/issue_2786/input.scss +>> @supports (foo: bar) or { + + -----------------------^ + +<===> error-dart-sass +Error: expected "(". +@supports (foo: bar) or { + ^ + /sass/spec/libsass-issues/issue_2786/input.scss 1:25 root stylesheet