diff options
author | Michal Čihař <michal@cihar.com> | 2017-01-03 13:30:35 +0100 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-01-03 13:31:13 +0100 |
commit | 4aadd25334b9e5aa00e48af130122a7415905cea (patch) | |
tree | 6d965ed27048b1f43650ca124880f58bb4b4000b /tests/Utils/FormatterTest.php | |
parent | bda11c8a47be03b2691c20f1249cb2ad633d691a (diff) | |
download | sql-parser-4aadd25334b9e5aa00e48af130122a7415905cea.zip sql-parser-4aadd25334b9e5aa00e48af130122a7415905cea.tar.gz sql-parser-4aadd25334b9e5aa00e48af130122a7415905cea.tar.bz2 |
Simplify rules merging
We first sanitize the merged array and we can later use it without
checking.
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tests/Utils/FormatterTest.php')
-rw-r--r-- | tests/Utils/FormatterTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Utils/FormatterTest.php b/tests/Utils/FormatterTest.php index 1cc3b06..f8a911f 100644 --- a/tests/Utils/FormatterTest.php +++ b/tests/Utils/FormatterTest.php @@ -59,6 +59,9 @@ class FormatTest extends TestCase array( 'type' => 0, 'flags' => 0, + 'html' => '', + 'cli' => '', + 'function' => '', ), ), array( // overriding @@ -69,6 +72,9 @@ class FormatTest extends TestCase array( 'type' => 0, 'flags' => 0, + 'html' => '', + 'cli' => '', + 'function' => '', ), ), ), |