Skip to content

Commit

Permalink
Merge pull request #364 from davidkpiano/master
Browse files Browse the repository at this point in the history
Added spec for libsass issue #1171
  • Loading branch information
xzyfer committed May 7, 2015
2 parents cc2b009 + 7e0d619 commit 4f8627d
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/libsass-todo-issues/issue_1171/expected.compact.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.test { foo: 3; baz: 2; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.test{foo:3;baz:2;}
4 changes: 4 additions & 0 deletions spec/libsass-todo-issues/issue_1171/expected.expanded.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test {
foo: 3;
baz: 2;
}
3 changes: 3 additions & 0 deletions spec/libsass-todo-issues/issue_1171/expected_output.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.test {
foo: 3;
baz: 2; }
20 changes: 20 additions & 0 deletions spec/libsass-todo-issues/issue_1171/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@function foo($initial, $args...) {
$args: append($args, 3);

@return bar($initial, $args...);
}

@function bar($args...) {
@return length($args);
}

@function baz($initial, $args...) {
$args: append($args, 3);

@return nth($args, 1);
}

.test {
foo: foo(1, 2);
baz: baz(1, 2);
}

0 comments on commit 4f8627d

Please sign in to comment.