This commit is contained in:
parent
b969552cc2
commit
39e46088c5
1 changed files with 5 additions and 1 deletions
|
@ -33,6 +33,10 @@
|
|||
*/
|
||||
class Doctrine_Tokenizer_TestCase extends Doctrine_UnitTestCase
|
||||
{
|
||||
public function prepareData()
|
||||
{ }
|
||||
public function prepareTables()
|
||||
{ }
|
||||
public function testSqlExplode()
|
||||
{
|
||||
$str = "word1 word2 word3";
|
||||
|
@ -93,6 +97,6 @@ class Doctrine_Tokenizer_TestCase extends Doctrine_UnitTestCase
|
|||
|
||||
$str = "something (( ))";
|
||||
$a = Doctrine_Tokenizer::sqlExplode($str);
|
||||
$this->assertEqual($a, array("something", "(( ))"));
|
||||
$this->assertEqual($a, array("something", "(( ))"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue