summaryrefslogtreecommitdiffstats
path: root/tests/Components/Array2DTest.php
blob: bb646df8a320f8bda5f8cffc8c20b3347e2a1c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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.
    }

}