Fix whitespace errors.

This commit is contained in:
mark_story 2012-07-23 22:44:05 -04:00
parent 66b296527f
commit 162d3bcb29
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ class TranslateBehavior extends ModelBehavior {
); );
return false; return false;
} }
$this->settings[$Model->alias] = array(); $this->settings[$Model->alias] = array();
$this->runtime[$Model->alias] = array('fields' => array()); $this->runtime[$Model->alias] = array('fields' => array());
$this->translateModel($Model); $this->translateModel($Model);

View file

@ -1785,7 +1785,7 @@ class ValidationTest extends CakeTestCase {
$this->assertTrue(Validation::url('http://underscore_subdomain.example.org')); $this->assertTrue(Validation::url('http://underscore_subdomain.example.org'));
$this->assertTrue(Validation::url('http://_jabber._tcp.gmail.com')); $this->assertTrue(Validation::url('http://_jabber._tcp.gmail.com'));
$this->assertFalse(Validation::url('http://www.underscore_domain.org')); $this->assertFalse(Validation::url('http://www.underscore_domain.org'));
$this->assertFalse(Validation::url('http://_jabber._tcp.g_mail.com')); $this->assertFalse(Validation::url('http://_jabber._tcp.g_mail.com'));
$this->assertTrue(Validation::url('http://example.com/~userdir/subdir/index.html')); $this->assertTrue(Validation::url('http://example.com/~userdir/subdir/index.html'));
$this->assertTrue(Validation::url('http://www.zwischenraume.de')); $this->assertTrue(Validation::url('http://www.zwischenraume.de'));