From bc44763b8342ee9e1bf43ffb202c73fee5ba0bf6 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Fri, 18 Jun 2021 08:24:03 +0200 Subject: 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. --- test/manual/indent/scss-mode.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/manual/indent/scss-mode.scss') 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; } -- cgit v1.2.3