class IssuesTest in Sassy 7.3
Same name in this branch
- 7.3 phpsass/tests/tests_compass.php \IssuesTest
- 7.3 phpsass/tests/tests_issues.php \IssuesTest
- 7.3 phpsass/tests/tests_ifs.php \IssuesTest
- 7.3 phpsass/tests/tests_extend.php \IssuesTest
- 7.3 phpsass/tests/tests_variables.php \IssuesTest
- 7.3 phpsass/tests/tests_interpolator.php \IssuesTest
Same name and namespace in other branches
- 7 phamlp/tests/tests_compass.php \IssuesTest
- 7 phamlp/tests/tests_issues.php \IssuesTest
- 7 phamlp/tests/tests_ifs.php \IssuesTest
- 7 phamlp/tests/tests_extend.php \IssuesTest
- 7 phamlp/tests/tests_variables.php \IssuesTest
- 7 phamlp/tests/tests_interpolator.php \IssuesTest
Hierarchy
- class \ScssUnitTest
- class \IssuesTest
Expanded class hierarchy of IssuesTest
File
- phpsass/
tests/ tests_variables.php, line 5
View source
class IssuesTest extends ScssUnitTest {
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);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
IssuesTest:: |
public | function | ||
ScssUnitTest:: |
protected | property | ||
ScssUnitTest:: |
public | function | ||
ScssUnitTest:: |
public | function | ||
ScssUnitTest:: |
public | function |