You are here

public function IssuesTest::test_extend3 in Sassy 7

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

File

phamlp/tests/tests_extend.php, line 29

Class

IssuesTest

Code

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

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