Phalcon\Test\Unit\Assets\Filters\JsminTest::testFilterJsminUnterminatedComment PHP Метод

testFilterJsminUnterminatedComment() публичный Метод

Tests jsmin filter with unterminated comment
С версии: 2016-01-24
Автор: Serghei Iakovlev ([email protected])
    public function testFilterJsminUnterminatedComment()
    {
        $this->specify("The jsmin with unterminated comment does not throws exception", function () {
            $jsmin = new Jsmin();
            $jsmin->filter('/*');
        }, ['throws' => ['Phalcon\\Assets\\Exception', "Unterminated comment."]]);
    }