summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core
diff options
context:
space:
mode:
authorJoffrey Jaffeux <j.jaffeux@gmail.com>2012-06-06 14:39:02 +0200
committerJoffrey Jaffeux <j.jaffeux@gmail.com>2012-06-06 14:39:02 +0200
commit0723617703dda3660597d9cdef59e7cdded1c497 (patch)
tree1c5656de4cddc83e576a65abdd5dfd49438a6dfb /tests/codeigniter/core
parent6c8515459e4c631b0882532e8c44ee6435fd3809 (diff)
follow styling guide
Diffstat (limited to 'tests/codeigniter/core')
-rw-r--r--tests/codeigniter/core/Input_test.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/codeigniter/core/Input_test.php b/tests/codeigniter/core/Input_test.php
index 27e152d6a..2aa3a6246 100644
--- a/tests/codeigniter/core/Input_test.php
+++ b/tests/codeigniter/core/Input_test.php
@@ -152,7 +152,8 @@ class Input_test extends CI_TestCase {
$this->assertTrue($this->input->valid_ip($ip_v4));
$ip_v6 = array('2001:0db8:0000:85a3:0000:0000:ac1f:8001', '2001:db8:0:85a3:0:0:ac1f:8001', '2001:db8:0:85a3::ac1f:8001');
- foreach($ip_v6 as $ip) {
+ foreach($ip_v6 as $ip)
+ {
$this->assertTrue($this->input->valid_ip($ip));
}
}
@@ -165,7 +166,8 @@ class Input_test extends CI_TestCase {
$this->assertEquals('4', $this->input->ip_version($ip_v4));
$ip_v6 = array('2001:0db8:0000:85a3:0000:0000:ac1f:8001', '2001:db8:0:85a3:0:0:ac1f:8001', '2001:db8:0:85a3::ac1f:8001');
- foreach($ip_v6 as $ip) {
+ foreach($ip_v6 as $ip)
+ {
$this->assertEquals('6', $this->input->ip_version($ip));
}
}