public function IssuesTest::test_variables in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/tests/tests_variables.php \IssuesTest::test_variables()
File
- phamlp/
tests/ tests_variables.php, line 7
Class
Code
public function test_variables() {
$source = <<<END
\$var1: #333333;
\$var2: \$var1 + #123123;
a {
color: \$var1;
background: \$var2;
}
END;
$expected = <<<END
a {
color: #333333;
background: #456456;
}
END;
$this
->assertScss($source, $expected);
}