You are here

public function IssuesTest::test_variables in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/tests/tests_variables.php \IssuesTest::test_variables()

File

phpsass/tests/tests_variables.php, line 7

Class

IssuesTest

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);
}