Elgg\CommitMessageGitHookTest::testRejectsEmptyPipeInput PHP Метод

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

    public function testRejectsEmptyPipeInput()
    {
        $cmd = "echo '' | {$this->validateScript}";
        $result = $this->runCmd($cmd, $output);
        $this->assertFalse($result, $output);
    }