You are here

public function IssuesTest::test_extend3 in Sassy 7.3

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

File

phpsass/tests/tests_extend.php, line 29

Class

IssuesTest

Code

public function test_extend3() {
  $source = <<<END
.test {
  color: green;
  a { color: red; }
}
.test2 {
    @extend .test;
}
END;
  $expected = <<<END
.test, .test2 {
  color: green;
}

.test a, .test2 a {
  color: red;
}
END;
  $this
    ->assertScss($source, $expected);
}