public function IssuesTest::test_border_radius in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/tests/tests_compass.php \IssuesTest::test_border_radius()
File
- phpsass/
tests/ tests_compass.php, line 7
Class
Code
public function test_border_radius() {
$source = <<<END
@import "compass/css3/border-radius";
.box {
@include border-radius(4px, 4px);
}
END;
$expected = <<<END
.box {
-webkit-border-radius: 4px 4px;
-moz-border-radius: 4px / 4px;
-o-border-radius: 4px / 4px;
-ms-border-radius: 4px / 4px;
-khtml-border-radius: 4px / 4px;
border-radius: 4px / 4px;
}
END;
$this
->assertScss($source, $expected);
}