You are here

tests_interpolator.php in Sassy 7.3

File

phpsass/tests/tests_interpolator.php
View source
<?php

include "test_inc.php";
class IssuesTest extends ScssUnitTest {
  public function test_interpolator01() {
    $source = <<<END
@mixin test(\$testl) {
  #{\$testl} {
    width: 900px;
  }
}
@include test("body");
END;
    $expected = <<<END
body {
  width: 900px;
}
END;
    $this
      ->assertScss($source, $expected);
  }

}
$unit = new IssuesTest();
$unit
  ->run();

Classes

Namesort descending Description
IssuesTest