Skip to content

Commit

Permalink
Cover type-of("red") case
Browse files Browse the repository at this point in the history
This is a string, not a color.

Related:
    sass/libsass#1522
    sass/libsass#1525
    sass/node-sass#1175
  • Loading branch information
saper committed Sep 24, 2015
1 parent e777ea6 commit 7c5a3f4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/types/expected.compact.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/types/expected.compressed.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions spec/types/expected.expanded.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
div {
color: color;
color: string;
color: color;
color: number;
color: number;
Expand Down
1 change: 1 addition & 0 deletions spec/types/expected_output.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
div {
color: color;
color: string;
color: color;
color: number;
color: number;
Expand Down
3 changes: 2 additions & 1 deletion spec/types/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

div {
color: type-of(red);
color: type-of("red");
color: type-of(#abc);
color: type-of(123);
color: type-of(45px);
Expand All @@ -29,4 +30,4 @@ div {
//foo + bar: 3px;
}

//@import url(type-of(3+3));
//@import url(type-of(3+3));

0 comments on commit 7c5a3f4

Please sign in to comment.