From ce4237a6c48fc2538fcb149730c4f62a02dce849 Mon Sep 17 00:00:00 2001 From: David Woods Date: Tue, 17 Mar 2015 11:28:07 -0700 Subject: Corrected an invalid test case Signed-off-by: David Woods --- tests/codeigniter/libraries/Form_validation_test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/codeigniter') diff --git a/tests/codeigniter/libraries/Form_validation_test.php b/tests/codeigniter/libraries/Form_validation_test.php index bfc2083fd..5b2e9de70 100644 --- a/tests/codeigniter/libraries/Form_validation_test.php +++ b/tests/codeigniter/libraries/Form_validation_test.php @@ -256,8 +256,8 @@ class Form_validation_test extends CI_TestCase { $this->assertTrue($this->run_rule('valid_url', '')); $this->assertTrue($this->run_rule('valid_url', 'www.codeigniter.com')); $this->assertTrue($this->run_rule('valid_url', 'http://codeigniter.eu')); - - $this->assertFalse($this->run_rule('valid_url', 'codeigniter.c')); + + $this->assertFalse($this->run_rule('valid_url', 'codeigniter')); } public function test_rule_valid_email() -- cgit v1.2.3-24-g4f1b