File tree Expand file tree Collapse file tree 3 files changed +35
-16
lines changed Expand file tree Collapse file tree 3 files changed +35
-16
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ X. Exit testing.
277
277
278
278
[implementation-specific expectations]: #implementation-specific-expectations
279
279
280
- Any option can also be applied to all future occurences of that type of failure
280
+ Any option can also be applied to all future occurrences of that type of failure
281
281
by adding `!` after it. For example, if you want to mark *all* failing specs as
282
282
`:todo` for the current implementation you'd type `I!`.
283
283
Original file line number Diff line number Diff line change @@ -276,12 +276,12 @@ These are regression tests for https://github.com/sass/dart-sass/issues/2588.
276
276
}
277
277
278
278
<===> top_level_include_declaration/without_use/_upstream.scss
279
- @mixin a { b: c }
279
+ @mixin b { c: d }
280
280
@include a;
281
281
282
282
<===> top_level_include_declaration/without_use/output.css
283
283
.a {
284
- b: c ;
284
+ c: d ;
285
285
}
286
286
287
287
<===> top_level_include_declaration/without_use/warning
@@ -297,20 +297,20 @@ More info and automated migrator: https://sass-lang.com/d/import
297
297
================================================================================
298
298
<===> top_level_include_declaration/with_use/input.scss
299
299
.a {
300
- @import 'upstream ';
300
+ @import 'midstream ';
301
301
}
302
302
303
- <===> top_level_include_declaration/with_use/_upstream .scss
304
- @use 'other ';
305
- @mixin a { b: c }
306
- @include a ;
303
+ <===> top_level_include_declaration/with_use/_midstream .scss
304
+ @use 'upstream ';
305
+ @mixin b { c: d }
306
+ @include b ;
307
307
308
- <===> top_level_include_declaration/with_use/other .scss
308
+ <===> top_level_include_declaration/with_use/_other .scss
309
309
// Intentionally empty.
310
310
311
311
<===> top_level_include_declaration/with_use/output.css
312
312
.a {
313
- b: c ;
313
+ c: d ;
314
314
}
315
315
316
316
<===> top_level_include_declaration/with_use/warning
@@ -334,15 +334,15 @@ More info and automated migrator: https://sass-lang.com/d/import
334
334
335
335
<===> top_level_include_declaration/with_use_two_levels_deep/_upstream2.scss
336
336
@use 'other';
337
- @mixin a { b: c }
338
- @include a ;
337
+ @mixin b { c: d }
338
+ @include b ;
339
339
340
340
<===> top_level_include_declaration/with_use_two_levels_deep/other.scss
341
341
// Intentionally empty.
342
342
343
343
<===> top_level_include_declaration/with_use_two_levels_deep/output.css
344
344
.a {
345
- b: c ;
345
+ c: d ;
346
346
}
347
347
348
348
<===> top_level_include_declaration/with_use_two_levels_deep/warning
Original file line number Diff line number Diff line change @@ -331,18 +331,37 @@ Error: There's already a module with namespace "other".
331
331
332
332
<===>
333
333
================================================================================
334
- <===> top_level_include_declaration/input.scss
334
+ <===> top_level_include_declaration/upstream_mixin/ input.scss
335
335
@use "upstream";
336
336
@include upstream.a;
337
337
338
- <===> top_level_include_declaration/_upstream.scss
338
+ <===> top_level_include_declaration/upstream_mixin/ _upstream.scss
339
339
@mixin a { b: c }
340
340
341
- <===> top_level_include_declaration/error
341
+ <===> top_level_include_declaration/upstream_mixin/ error
342
342
Error: Declarations may only be used within style rules.
343
343
,
344
344
1 | @mixin a { b: c }
345
345
| ^^^^^
346
346
'
347
347
_upstream.scss 1:12 a()
348
348
input.scss 2:1 root stylesheet
349
+
350
+ <===>
351
+ ================================================================================
352
+ <===> top_level_include_declaration/input_mixin/input.scss
353
+ @use 'upstream';
354
+ @mixin a { b: c }
355
+ @include a;
356
+
357
+ <===> top_level_include_declaration/input_mixin/_upstream.scss
358
+ // Intentionally empty.
359
+
360
+ <===> top_level_include_declaration/input_mixin/error
361
+ Error: Declarations may only be used within style rules.
362
+ ,
363
+ 2 | @mixin a { b: c }
364
+ | ^^^^^
365
+ '
366
+ input.scss 2:12 a()
367
+ input.scss 3:1 root stylesheet
You can’t perform that action at this time.
0 commit comments