Skip to content

Commit d499df1

Browse files
committed
Move the new spec to a better location and add a new one
1 parent 22f4ebf commit d499df1

File tree

2 files changed

+48
-23
lines changed

2 files changed

+48
-23
lines changed

spec/directives/forward/member/bare.hrx

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -97,26 +97,3 @@ a {
9797
b {
9898
c: d;
9999
}
100-
101-
<===>
102-
================================================================================
103-
<===> through_forward_and_use/input.scss
104-
// Regression test for sass/sass#2744.
105-
@use "forwarder" with ($c: e);
106-
107-
a {b: forwarder.$c}
108-
109-
<===> through_forward_and_use/_forwarder.scss
110-
@forward "definition";
111-
@forward "user";
112-
113-
<===> through_forward_and_use/_definition.scss
114-
$c: d !default;
115-
116-
<===> through_forward_and_use/_user.scss
117-
@use "definition";
118-
119-
<===> through_forward_and_use/output.css
120-
a {
121-
b: e;
122-
}

spec/directives/use/with.hrx

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,54 @@ c {
280280
d: configured;
281281
}
282282

283+
<===>
284+
================================================================================
285+
<===> through_forward/with_unrelated_config/input.scss
286+
@use "used" with ($from-used: configured);
287+
288+
<===> through_forward/with_unrelated_config/_used.scss
289+
@forward "forwarded";
290+
291+
$from-used: original !default;
292+
293+
a {from-used: $from-used}
294+
295+
<===> through_forward/with_unrelated_config/_forwarded.scss
296+
$from-forwarded: original !default;
297+
b {from-forwarded: $from-forwarded}
298+
299+
<===> through_forward/with_unrelated_config/output.css
300+
b {
301+
from-forwarded: original;
302+
}
303+
304+
a {
305+
from-used: configured;
306+
}
307+
308+
<===>
309+
================================================================================
310+
<===> through_forward/and_use/input.scss
311+
// Regression test for sass/sass#2744.
312+
@use "forwarder" with ($c: e);
313+
314+
a {b: forwarder.$c}
315+
316+
<===> through_forward/and_use/_forwarder.scss
317+
@forward "definition";
318+
@forward "user";
319+
320+
<===> through_forward/and_use/_definition.scss
321+
$c: d !default;
322+
323+
<===> through_forward/and_use/_user.scss
324+
@use "definition";
325+
326+
<===> through_forward/and_use/output.css
327+
a {
328+
b: e;
329+
}
330+
283331
<===>
284332
================================================================================
285333
<===> multi_load/README.md

0 commit comments

Comments
 (0)