summaryrefslogtreecommitdiff
path: root/scss/tests/test_expression.py
diff options
context:
space:
mode:
authorEevee (Alex Munroe) <eevee.git@veekun.com>2013-08-23 16:21:43 -0700
committerEevee (Alex Munroe) <eevee.git@veekun.com>2013-08-23 16:21:43 -0700
commit930e7382d41f450f8aa4bb29649204683a07353a (patch)
treed33c4980bd21373868a812029d0092b47e7521f5 /scss/tests/test_expression.py
parent444ac8f8b4e5d167050b3d0eb0869bce5335aa33 (diff)
downloadpyscss-parsley.tar.gz
Map literals in Parsley, and a few other minor fixes.parsley
- Labels for some of the rules. - Faux goal_argspec rule to play nicely with parse_expression. - Wrap ParseErrors in SassParseError. - Ruby's interp-and-slash test now passes exactly. - Don't render nulls in an interpolation.
Diffstat (limited to 'scss/tests/test_expression.py')
-rw-r--r--scss/tests/test_expression.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scss/tests/test_expression.py b/scss/tests/test_expression.py
index a16950e..848d9ce 100644
--- a/scss/tests/test_expression.py
+++ b/scss/tests/test_expression.py
@@ -43,8 +43,7 @@ def test_reference_operations():
assert calc('$width/2') == Number(500, "px") # uses a variable; does division
assert calc('(500px/2)') == Number(250, "px") # uses parens; does division
assert calc('5px + 8px/2px') == Number(9, "px") # uses +; does division
- # TODO: Ruby doesn't include these spaces
- assert calc('#{$font-size}/#{$line-height}') == String('12px / 30px')
+ assert calc('#{$font-size}/#{$line-height}') == String('12px/30px')
# uses #{}; does no division
# Color operations