Skip to content

Commit 48437d2

Browse files
committed
more tests
1 parent c2d2cc5 commit 48437d2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Provider/ColumnDefinitionParserProvider.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ public static function parse(): array
3636
"enum('a','b','c') NOT NULL",
3737
['type' => 'enum', 'values' => ['a', 'b', 'c'], 'notNull' => true],
3838
],
39+
'enum-upper-case' => [
40+
"ENUM('a','b','c') NOT NULL",
41+
['type' => 'enum', 'values' => ['a', 'b', 'c'], 'notNull' => true],
42+
],
43+
'enum-custom-case' => [
44+
"eNUm('a','b','c') NOT NULL",
45+
['type' => 'enum', 'values' => ['a', 'b', 'c'], 'notNull' => true],
46+
],
3947
'enum-with-square-brackets' => [
4048
"enum('[one]', 'the [two]', 'the [three] to') NOT NULL",
4149
['type' => 'enum', 'values' => ['[one]', 'the [two]', 'the [three] to'], 'notNull' => true],

0 commit comments

Comments
 (0)