summaryrefslogtreecommitdiffstats
path: root/tests/Parser/ArrayFragmentTest.php
blob: a31bf2ae6b7acfc83ca8026014a87abee8b05897 (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
<?php

namespace SqlParser\Tests\Parser;

use SqlParser\Tests\TestCase;

class ArrayFragmentTest extends TestCase
{

    /**
     * @dataProvider testArrayProvider
     */
    public function testArray($test)
    {
        $this->runParserTest($test);
    }

    public function testArrayProvider()
    {
        return array(
            array('parseArrayErr1'),
            array('parseArrayErr2'),
            array('parseArrayErr3'),
        );
    }
}