Skip to content

Commit

Permalink
Merge pull request #1094 from mgreter/todo/issue_2320
Browse files Browse the repository at this point in the history
Add todo spec test for libsass issue 2320
  • Loading branch information
mgreter authored Mar 16, 2017
2 parents acbb5f5 + 477c9fc commit 32d88a7
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 32d88a7

Please sign in to comment.