diff --git a/src/language-css/utils.js b/src/language-css/utils.js index 4f77d5f5678a..10f9bd275f8c 100644 --- a/src/language-css/utils.js +++ b/src/language-css/utils.js @@ -60,7 +60,7 @@ function getPropOfDeclNode(path) { function isSCSS(parser, text) { const hasExplicitParserChoice = parser === "less" || parser === "scss"; - const IS_POSSIBLY_SCSS = /(\w\s*: [^}:]+|#){|@import[^\n]+(url|,)/; + const IS_POSSIBLY_SCSS = /(\w\s*:\s*[^}:]+|#){|@import[^\n]+(?:url|,)/; return hasExplicitParserChoice ? parser === "scss" : IS_POSSIBLY_SCSS.test(text); diff --git a/tests_config/run_spec.js b/tests_config/run_spec.js index 296f26fe0e36..22172ce8720e 100644 --- a/tests_config/run_spec.js +++ b/tests_config/run_spec.js @@ -28,7 +28,6 @@ const unstableTests = new Map( "comments/return-statement.js", "comments/tagged-template-literal.js", "comments_closure_typecast/iife.js", - "css_atrule/include.css", "graphql_interface/separator-detection.graphql", [ "html_angular/attributes.component.html",