aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Stephani2021-06-18 08:24:03 +0200
committerPhilipp Stephani2021-06-18 08:32:55 +0200
commitbc44763b8342ee9e1bf43ffb202c73fee5ba0bf6 (patch)
tree769c8554eab73698d7ecadf86c201ac1f0d49b2f
parent7033470adb07062b7d7bbb9499ae80aeb84819ef (diff)
downloademacs-bc44763b8342ee9e1bf43ffb202c73fee5ba0bf6.tar.gz
emacs-bc44763b8342ee9e1bf43ffb202c73fee5ba0bf6.zip
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.
-rw-r--r--test/manual/indent/scss-mode.scss6
1 files changed, 4 insertions, 2 deletions
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 @@
1// Comment! 1// Comment!
2 2
3@use "sass:math";
4
3nav { 5nav {
4 ul { 6 ul {
5 margin: 0; /* More comment */ 7 margin: 0; /* More comment */
@@ -44,8 +46,8 @@ article[role="main"] {
44 $var_with_underscores: #fff; 46 $var_with_underscores: #fff;
45 $_var-starting-with-underscore: none; 47 $_var-starting-with-underscore: none;
46 float: left !important; 48 float: left !important;
47 width: 600px / 888px * 100%; 49 width: math.div(600px, 888px) * 100%;
48 height: 100px / 888px * 100%; 50 height: math.div(100px, 888px) * 100%;
49 color: $var_with_underscores; 51 color: $var_with_underscores;
50 display: $_var-starting-with-underscore; 52 display: $_var-starting-with-underscore;
51} 53}