MiniAsset\Test\TestCase\CompilerTest::testCombiningWithOtherExtensions PHP Method

testCombiningWithOtherExtensions() public method

    public function testCombiningWithOtherExtensions()
    {
        $files = [new Local(APP . 'css/other.less'), new Local(APP . 'css/nav.css')];
        $target = new AssetTarget(TMP . 'all.css', $files);
        $compiler = $this->instance();
        $result = $compiler->generate($target);
        $expected = <<<TEXT
@import 'base' screen;
@import 'nav.css' screen and (orientation: landscape);
#footer {
    color: blue;
}

@import url("reset/reset.css");
#nav {
    width:100%;
}
TEXT;
        $this->assertEquals($expected, $result);
    }