Removing extra ; from generated code.

This commit is contained in:
mark_story 2009-07-17 16:00:44 -04:00
parent ad3e5f43e0
commit 2ab3986d14
2 changed files with 2 additions and 2 deletions

View file

@ -166,7 +166,7 @@ class FixtureTask extends Shell {
if ($modelImport && $recordImport) {
$modelImport .= ', ';
}
$import = sprintf("array(%s%s);\n", $modelImport, $recordImport);
$import = sprintf("array(%s%s)", $modelImport, $recordImport);
}
$this->_Schema = new CakeSchema();

View file

@ -29,7 +29,7 @@ class <?php echo $model; ?>Fixture extends CakeTestFixture {
<?php endif; ?>
<?php if ($import): ?>
var $import = <?php echo $import; ?>;
<?php endif;?>
<?php endif; ?>
<?php if ($schema): ?>
var $fields = <?php echo $schema; ?>;