Skip to content

Commit 93c3f01

Browse files
committed
Add a spec for multiple global uses in one file (#1467)
See sass/dart-sass#832
1 parent a70b00d commit 93c3f01

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ matrix:
3030
- curl -o dart.zip "https://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip"
3131
- unzip dart.zip
3232
- export PATH="$PATH:`pwd`/dart-sdk/bin"
33-
- git clone https://github.com/sass/dart-sass.git ../dart-sass --depth 1 --branch feature.use
33+
- git clone https://github.com/sass/dart-sass.git ../dart-sass --depth 1
3434
- (cd ../dart-sass; pub get)
3535
script: bundle exec sass-spec.rb --dart ../dart-sass
3636

spec/directives/use/member.hrx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,29 @@ a {
310310
b: c;
311311
}
312312

313+
<===>
314+
================================================================================
315+
<===> global/multiple/input.scss
316+
@use "left" as *;
317+
@use "right" as *;
318+
319+
a {
320+
left: $left;
321+
right: $right;
322+
}
323+
324+
<===> global/multiple/left.scss
325+
$left: left;
326+
327+
<===> global/multiple/right.scss
328+
$right: right;
329+
330+
<===> global/multiple/output.css
331+
a {
332+
left: left;
333+
right: right;
334+
}
335+
313336
<===>
314337
================================================================================
315338
<===> use_to_import/variable_use/input.scss

0 commit comments

Comments
 (0)