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/Parser | |
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/Parser')
-rw-r--r-- | tests/Parser/ParserTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Parser/ParserTest.php b/tests/Parser/ParserTest.php index 190764e..bc4af90 100644 --- a/tests/Parser/ParserTest.php +++ b/tests/Parser/ParserTest.php @@ -55,8 +55,8 @@ class ParserTest extends TestCase { $parser = new Parser(new TokensList()); - $parser->error(__('error #1'), new Token('foo'), 1); - $parser->error(sprintf(__('%2$s #%1$d'), 2, 'error'), new Token('bar'), 2); + $parser->error('error #1', new Token('foo'), 1); + $parser->error(sprintf('%2$s #%1$d', 2, 'error'), new Token('bar'), 2); $this->assertEquals( $parser->errors, @@ -77,6 +77,6 @@ class ParserTest extends TestCase $parser = new Parser(new TokensList()); $parser->strict = true; - $parser->error(__('strict error'), new Token('foo'), 3); + $parser->error('strict error', new Token('foo'), 3); } } |