diff options
Diffstat (limited to 'tests/Components/Array2DTest.php')
-rw-r--r-- | tests/Components/Array2DTest.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/Components/Array2DTest.php b/tests/Components/Array2DTest.php new file mode 100644 index 0000000..bb646df --- /dev/null +++ b/tests/Components/Array2DTest.php @@ -0,0 +1,27 @@ +<?php + +namespace SqlParser\Tests\Components; + +use SqlParser\Parser; +use SqlParser\Components\Array2d; + +use SqlParser\Tests\TestCase; + +class Array2dTest extends TestCase +{ + + public function testParseErr1() + { + $parser = new Parser(); + Array2d::parse($parser, $this->getTokensList('(1, 2 +')); + // TODO: Assert errors. + } + + public function testParseErr2() + { + $parser = new Parser(); + Array2d::parse($parser, $this->getTokensList('(1, 2 TABLE')); + // TODO: Assert errors. + } + +} |