Phalcon\Test\Unit\Assets\Filters\JsminTest::testFilterJsminComment PHP Method

testFilterJsminComment() public method

Tests jsmin filter with comment
Since: 2016-01-24
Author: Serghei Iakovlev ([email protected])
    public function testFilterJsminComment()
    {
        $this->specify("The jsmin filter with comment parameter return comment back", function () {
            $jsmin = new Jsmin();
            expect($jsmin->filter('/** this is a comment */'))->isEmpty();
        });
    }