diff options
author | Michal Čihař <michal@cihar.com> | 2016-03-01 17:14:40 +0100 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-12-21 15:03:20 +0100 |
commit | 5f81f21c24c820b6b315a5d4d2ff9e74b4a7dc35 (patch) | |
tree | d3ad1aa2b69d187b322029ed9514b27176f5b3cf /tests/Lexer/LexerTest.php | |
parent | 741897c4108b12eab04a887f0c9093e183e72c26 (diff) | |
download | sql-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.php | 6 |
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); } /** |