From: Philipp Stephani Date: Fri, 18 Jun 2021 06:24:03 +0000 (+0200) Subject: Update SCSS test file syntax. X-Git-Tag: emacs-28.0.90~2094 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc44763b8342ee9e1bf43ffb202c73fee5ba0bf6;p=emacs.git Update SCSS test file syntax. According to https://sass-lang.com/documentation/breaking-changes/slash-div, the slash operator should be replaced by 'math.div'. Fixed using the migration tool mentioned at https://sass-lang.com/documentation/breaking-changes/slash-div#automatic-migration. * test/manual/indent/scss-mode.scss: Remove slash operator. --- diff --git a/test/manual/indent/scss-mode.scss b/test/manual/indent/scss-mode.scss index 189ec4e22ac..2cd4adb8d55 100644 --- a/test/manual/indent/scss-mode.scss +++ b/test/manual/indent/scss-mode.scss @@ -1,5 +1,7 @@ // Comment! +@use "sass:math"; + nav { ul { margin: 0; /* More comment */ @@ -44,8 +46,8 @@ article[role="main"] { $var_with_underscores: #fff; $_var-starting-with-underscore: none; float: left !important; - width: 600px / 888px * 100%; - height: 100px / 888px * 100%; + width: math.div(600px, 888px) * 100%; + height: math.div(100px, 888px) * 100%; color: $var_with_underscores; display: $_var-starting-with-underscore; }