summaryrefslogtreecommitdiffstats
path: root/tests/Lexer/LexerTest.php
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-03-01 17:14:40 +0100
committerMichal Čihař <michal@cihar.com>2016-12-21 15:03:20 +0100
commit5f81f21c24c820b6b315a5d4d2ff9e74b4a7dc35 (patch)
treed3ad1aa2b69d187b322029ed9514b27176f5b3cf /tests/Lexer/LexerTest.php
parent741897c4108b12eab04a887f0c9093e183e72c26 (diff)
downloadsql-parser-5f81f21c24c820b6b315a5d4d2ff9e74b4a7dc35.zip
sql-parser-5f81f21c24c820b6b315a5d4d2ff9e74b4a7dc35.tar.gz
sql-parser-5f81f21c24c820b6b315a5d4d2ff9e74b4a7dc35.tar.bz2
Replace __( usage by Translator class
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tests/Lexer/LexerTest.php')
-rw-r--r--tests/Lexer/LexerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Lexer/LexerTest.php b/tests/Lexer/LexerTest.php
index 0bcd3f7..bcbcfc4 100644
--- a/tests/Lexer/LexerTest.php
+++ b/tests/Lexer/LexerTest.php
@@ -18,9 +18,9 @@ class LexerTest extends TestCase
{
$lexer = new Lexer('');
- $lexer->error(__('error #1'), 'foo', 1, 2);
+ $lexer->error('error #1', 'foo', 1, 2);
$lexer->error(
- sprintf(__('%2$s #%1$d'), 2, 'error'),
+ sprintf('%2$s #%1$d', 2, 'error'),
'bar',
3,
4
@@ -45,7 +45,7 @@ class LexerTest extends TestCase
$lexer = new Lexer('');
$lexer->strict = true;
- $lexer->error(__('strict error'), 'foo', 1, 4);
+ $lexer->error('strict error', 'foo', 1, 4);
}
/**