summaryrefslogtreecommitdiffstats
path: root/tests/Utils/FormatterTest.php
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-03-18 11:10:04 +0100
committerMichal Čihař <michal@cihar.com>2016-03-18 11:10:04 +0100
commitbc0fc19c67dab8759224d6323b477ea825843470 (patch)
tree72a17f9700a75dd487673b997793991190117ba3 /tests/Utils/FormatterTest.php
parent5987cda0ded12b258ca1fafcc71a45fbac63fe3e (diff)
downloadsql-parser-bc0fc19c67dab8759224d6323b477ea825843470.zip
sql-parser-bc0fc19c67dab8759224d6323b477ea825843470.tar.gz
sql-parser-bc0fc19c67dab8759224d6323b477ea825843470.tar.bz2
Reset console formatting at the end of query
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tests/Utils/FormatterTest.php')
-rw-r--r--tests/Utils/FormatterTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Utils/FormatterTest.php b/tests/Utils/FormatterTest.php
index 1344257..4940016 100644
--- a/tests/Utils/FormatterTest.php
+++ b/tests/Utils/FormatterTest.php
@@ -75,7 +75,7 @@ class FormatTest extends TestCase
),
array(
'SELECT 1',
- "\x1b[35mSELECT\n \x1b[92m1",
+ "\x1b[35mSELECT\n \x1b[92m1\e[0m",
'cli'
),
);