diff options
author | Eevee (Lexy Munroe) <eevee.git@veekun.com> | 2016-06-08 17:38:53 -0700 |
---|---|---|
committer | Eevee (Lexy Munroe) <eevee.git@veekun.com> | 2016-06-08 17:38:53 -0700 |
commit | 905559d199a3db9ab14cff16e6b1fb652e926c30 (patch) | |
tree | 02c81c0e2745eaab3e161d82579bcd00661f7728 /scss/tests | |
parent | 1f3a76655de764cd66f0ddb42b3d99e6020c1dca (diff) | |
download | pyscss-905559d199a3db9ab14cff16e6b1fb652e926c30.tar.gz |
append() should default to spaces. Fixes #335
Diffstat (limited to 'scss/tests')
-rw-r--r-- | scss/tests/files/bugs/append.css | 5 | ||||
-rw-r--r-- | scss/tests/files/bugs/append.scss | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/scss/tests/files/bugs/append.css b/scss/tests/files/bugs/append.css new file mode 100644 index 0000000..c5e87fa --- /dev/null +++ b/scss/tests/files/bugs/append.css @@ -0,0 +1,5 @@ +p { + a: 1; + b: 1 2; + c: 1, 2, 3; +} diff --git a/scss/tests/files/bugs/append.scss b/scss/tests/files/bugs/append.scss new file mode 100644 index 0000000..2b6aff9 --- /dev/null +++ b/scss/tests/files/bugs/append.scss @@ -0,0 +1,10 @@ +// Default when the first list has < 2 elements is space +$a: append((), 1); +$b: append(append((), 1, comma), 2); +$c: append((1, 2), 3); + +p { + a: $a; + b: $b; + c: $c; +} |