summaryrefslogtreecommitdiffstats
path: root/tests/utils/RoutineTest.php
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-06-22 21:47:54 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-06-22 21:47:54 +0300
commit1bb8ecee3e50161fa14a80cecb1193b720de1c14 (patch)
tree8d455e57683af605311c3c6db3b51326496302f8 /tests/utils/RoutineTest.php
parentcb58d8c0eea3ffda06f96d7131bbcf90a6e602ab (diff)
downloadsql-parser-1bb8ecee3e50161fa14a80cecb1193b720de1c14.zip
sql-parser-1bb8ecee3e50161fa14a80cecb1193b720de1c14.tar.gz
sql-parser-1bb8ecee3e50161fa14a80cecb1193b720de1c14.tar.bz2
Return more information about routines.
Diffstat (limited to 'tests/utils/RoutineTest.php')
-rw-r--r--tests/utils/RoutineTest.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/utils/RoutineTest.php b/tests/utils/RoutineTest.php
index 34ed2af..b768725 100644
--- a/tests/utils/RoutineTest.php
+++ b/tests/utils/RoutineTest.php
@@ -106,6 +106,7 @@ class RoutineTest extends TestCase
'name' => array(),
'type' => array(),
'length' => array(),
+ 'length_arr' => array(),
'opts' => array()
)
),
@@ -125,6 +126,9 @@ class RoutineTest extends TestCase
'length' => array(
0 => ''
),
+ 'length_arr' => array(
+ 0 => array(),
+ ),
'opts' => array(
0 => ''
)
@@ -146,6 +150,9 @@ class RoutineTest extends TestCase
'length' => array(
0 => '25'
),
+ 'length_arr' => array(
+ 0 => array('25'),
+ ),
'opts' => array(
0 => 'UNSIGNED ZEROFILL'
)
@@ -172,6 +179,10 @@ class RoutineTest extends TestCase
0 => '1',
1 => '15'
),
+ 'length_arr' => array(
+ 0 => array('1'),
+ 1 => array('15')
+ ),
'opts' => array(
0 => 'ZEROFILL',
1 => 'utf8'