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."]]);
    }