pharext\CliArgsTest::testLongEquals PHP Method

testLongEquals() public method

public testLongEquals ( )
    public function testLongEquals()
    {
        $this->assertNull($this->args->configure);
        foreach ($this->args->parse(1, ["--configure=--with-lib=/opt/lib"]) as $error) {
            throw new \Exception("Unexpected parse error: {$error}");
        }
        $this->assertSame(["--with-lib=/opt/lib"], $this->args->configure);
    }