Skip to content

Commit

Permalink
Add specs for issue 1399
Browse files Browse the repository at this point in the history
This PR add specs for sass/libsass#1399
  • Loading branch information
xzyfer committed Jul 27, 2015
1 parent 466ea5a commit 96e42df
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4 deletions.
1 change: 1 addition & 0 deletions spec/libsass-todo-issues/issue_1399/expected.compact.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
foo { foo: 3-"bar"; foo: 3-"bar"; foo: 3 / "bar"; foo: 3/"bar"; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
foo{foo:3-"bar";foo:3-"bar";foo:3 / "bar";foo:3/"bar"}
6 changes: 6 additions & 0 deletions spec/libsass-todo-issues/issue_1399/expected.expanded.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
foo {
foo: 3-"bar";
foo: 3-"bar";
foo: 3 / "bar";
foo: 3/"bar";
}
5 changes: 5 additions & 0 deletions spec/libsass-todo-issues/issue_1399/expected_output.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
foo {
foo: 3-"bar";
foo: 3-"bar";
foo: 3 / "bar";
foo: 3/"bar"; }
6 changes: 6 additions & 0 deletions spec/libsass-todo-issues/issue_1399/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
foo {
foo: 3 - "bar";
foo: (3 - "bar");
foo: 3 / "bar";
foo: (3 / "bar");
}
5 changes: 1 addition & 4 deletions spec/libsass-todo-tests/libsass/arithmetic/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ div {
font: 3 - 12px;
font: 3 - #111111;
font: 3 - hello;
font: 3 - "hello";
font: 3 - true;
font: 3 - false;
font: 3 - not-there(hello);
Expand Down Expand Up @@ -48,7 +47,6 @@ div {
// font: (3 / 12px); // results in mixed unit
font: (3 / #111111);
font: (3 / hello);
font: (3 / "hello");
font: (3 / true);
font: (3 / false);
font: (3 / not-there(hello));
Expand Down Expand Up @@ -86,7 +84,6 @@ div {
// font: 50% - 10px; // incompatible units
font: 50% - #111111; // invalid operands
font: 50% - hello;
font: 50% - "hello";
font: 50% - undefined(hello);
font: 50% - un#{quo}te("hello");
font: 50% - (a, b, c);
Expand Down Expand Up @@ -143,4 +140,4 @@ div {
foo: (1 2 3) + (a b c);
foo: (2px + 3px)*4em/2px;
foo: 1cm*1in/1cm;
}
}

0 comments on commit 96e42df

Please sign in to comment.