Skip to content

Commit

Permalink
Add todo spec test for libsass issue 2320
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed Mar 10, 2017
1 parent 499d91f commit 477c9fc
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
16 changes: 16 additions & 0 deletions spec/libsass-todo-issues/issue_2320/expected_output.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@charset "UTF-8";
.test-1 {
content: "f";
}

.test-2 {
content: "g";
}

.test-3 {
content: "f";
}

.test-4 {
content: "g";
}
19 changes: 19 additions & 0 deletions spec/libsass-todo-issues/issue_2320/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
$char-f: '\66';
$char-g: '\67';

.test-1 {
content: '#{$char-f}\feff';
}

.test-2 {
content: '#{$char-g}\feff';
}

// this is broken
.test-3 {
content: '\feff#{$char-f}';
}

.test-4 {
content: '\feff#{$char-g}';
}

0 comments on commit 477c9fc

Please sign in to comment.