summaryrefslogtreecommitdiffstats
path: root/tests/Utils/FormatterTest.php
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2017-01-03 13:30:35 +0100
committerMichal Čihař <michal@cihar.com>2017-01-03 13:31:13 +0100
commit4aadd25334b9e5aa00e48af130122a7415905cea (patch)
tree6d965ed27048b1f43650ca124880f58bb4b4000b /tests/Utils/FormatterTest.php
parentbda11c8a47be03b2691c20f1249cb2ad633d691a (diff)
downloadsql-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.php6
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' => '',
),
),
),