Skip to content

Commit

Permalink
Merge pull request doctrine#150 from stof/patch-1
Browse files Browse the repository at this point in the history
Added missing regex delimiters in the testsuite
  • Loading branch information
beberlei committed May 20, 2012
2 parents f19f269 + 9409886 commit 0b9cf40
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -202,11 +202,11 @@ public function testFilterSchemaExpression()
$column = $testTable->addColumn('id', 'integer');
$this->_sm->createTable($testTable);

$this->_conn->getConfiguration()->setFilterSchemaAssetsExpression('^dbal204_');
$this->_conn->getConfiguration()->setFilterSchemaAssetsExpression('#^dbal204_#');
$names = $this->_sm->listTableNames();
$this->assertEquals(2, count($names));

$this->_conn->getConfiguration()->setFilterSchemaAssetsExpression('^dbal204_test');
$this->_conn->getConfiguration()->setFilterSchemaAssetsExpression('#^dbal204_test#');
$names = $this->_sm->listTableNames();
$this->assertEquals(1, count($names));
}
Expand Down

0 comments on commit 0b9cf40

Please sign in to comment.