diff options
author | Philipp Stephani <phst@google.com> | 2021-06-18 08:24:03 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2021-06-18 08:32:55 +0200 |
commit | bc44763b8342ee9e1bf43ffb202c73fee5ba0bf6 (patch) | |
tree | 769c8554eab73698d7ecadf86c201ac1f0d49b2f /test/manual/indent/scss-mode.scss | |
parent | 7033470adb07062b7d7bbb9499ae80aeb84819ef (diff) | |
download | emacs-bc44763b8342ee9e1bf43ffb202c73fee5ba0bf6.tar.gz emacs-bc44763b8342ee9e1bf43ffb202c73fee5ba0bf6.tar.bz2 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.
Diffstat (limited to 'test/manual/indent/scss-mode.scss')
-rw-r--r-- | test/manual/indent/scss-mode.scss | 6 |
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 @@ // 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; } |