summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woods <d.woods92@gmail.com>2015-03-17 19:28:07 +0100
committerDavid Woods <d.woods92@gmail.com>2015-03-17 19:28:07 +0100
commitce4237a6c48fc2538fcb149730c4f62a02dce849 (patch)
treefc73cbe219ece6217c67127a0ab2e919b7f04d47
parent8384dd9de4c2721113a5d3158ed06b3cc5bfc145 (diff)
Corrected an invalid test case
Signed-off-by: David Woods <d.woods92@gmail.com>
-rw-r--r--tests/codeigniter/libraries/Form_validation_test.php4
1 files changed, 2 insertions, 2 deletions
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()