Skip to content

Commit

Permalink
Implement Array2d missing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
  • Loading branch information
MauricioFauth committed Aug 25, 2024
1 parent ecd1f01 commit 7bfa62b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Components/Array2dTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ public function testParseErr1(): void
{
$parser = new Parser();
Array2d::parse($parser, $this->getTokensList('(1, 2 +'));

$this->markTestIncomplete('This test has not been implemented yet.');
$this->assertCount(1, $parser->errors);
$this->assertEquals('A closing bracket was expected.', $parser->errors[0]->getMessage());
}

public function testParseErr2(): void
{
$parser = new Parser();
Array2d::parse($parser, $this->getTokensList('(1, 2 TABLE'));

$this->markTestIncomplete('This test has not been implemented yet.');
$this->assertCount(1, $parser->errors);
$this->assertEquals('A closing bracket was expected.', $parser->errors[0]->getMessage());
}

public function testParseErr3(): void
Expand Down

0 comments on commit 7bfa62b

Please sign in to comment.