1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Sass] [SCSS] Add a test for unicode variable names.

This commit is contained in:
Nathan Weizenbaum 2010-02-14 15:39:10 -08:00
parent eb51a1020d
commit 34547bbdae

View file

@ -1,4 +1,5 @@
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
require File.dirname(__FILE__) + '/test_helper'
class ScssTest < Test::Unit::TestCase
@ -47,6 +48,17 @@ foo {
SCSS
end
def test_unicode_variables
assert_equal <<CSS, render(<<SCSS)
blat {
a: foo; }
CSS
!vär = "foo";
blat {a = !vär}
SCSS
end
def test_guard_assign
assert_equal <<CSS, render(<<SCSS)
foo {