We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4615b7f commit 3c2214fCopy full SHA for 3c2214f
tests/ApiTest.php
@@ -26,12 +26,12 @@ public function testImportMissing(){
26
27
public function testImportCustomCallback(){
28
$this->scss->addImportPath(function($path) {
29
- return 'inputs/' . str_replace('.css','.scss',$path);
+ return __DIR__.'/inputs/' . str_replace('.css','.scss',$path);
30
});
31
32
$this->assertEquals(
33
$this->compile('@import "variables.css";'),
34
- trim(file_get_contents('outputs/variables.css')));
+ trim(file_get_contents(__DIR__.'/outputs/variables.css')));
35
}
36
37
public function compile($str) {
0 commit comments