diff options
Diffstat (limited to 'tests/Fragments/IntoKeywordTest.php')
-rw-r--r-- | tests/Fragments/IntoKeywordTest.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/Fragments/IntoKeywordTest.php b/tests/Fragments/IntoKeywordTest.php deleted file mode 100644 index 351de13..0000000 --- a/tests/Fragments/IntoKeywordTest.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php - -namespace SqlParser\Tests\Fragments; - -use SqlParser\Parser; -use SqlParser\Fragments\IntoKeyword; - -use SqlParser\Tests\TestCase; - -class IntoKeywordTest extends TestCase -{ - - public function testParse() - { - $fragment = IntoKeyword::parse(new Parser(), $this->getTokensList('OUTFILE "/tmp/outfile.txt"')); - $this->assertEquals($fragment->type, 'OUTFILE'); - $this->assertEquals($fragment->dest, '/tmp/outfile.txt'); - } - - public function testParseErr1() - { - $fragment = IntoKeyword::parse(new Parser(), $this->getTokensList('OUTFILE;')); - $this->assertEquals($fragment->type, 'OUTFILE'); - } -} |