Skip to content

Commit fbde269

Browse files
committed
test: add empty lines
1 parent 75d4ed4 commit fbde269

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/system/Helpers/FormHelperTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,7 @@ public function testSetRadio()
850850

851851
$this->assertSame(' checked="checked"', set_radio('foo', 'bar'));
852852
$this->assertSame('', set_radio('foo', 'baz'));
853+
853854
unset($_SESSION['_ci_old_input']);
854855
}
855856

@@ -860,6 +861,7 @@ public function testSetRadio()
860861
public function testSetRadioFromPost()
861862
{
862863
$_POST['bar'] = 'baz';
864+
863865
$this->assertSame(' checked="checked"', set_radio('bar', 'baz'));
864866
$this->assertSame('', set_radio('bar', 'boop'));
865867
$this->assertSame(' checked="checked"', set_radio('bar', 'boop', true));
@@ -872,10 +874,12 @@ public function testSetRadioFromPost()
872874
public function testSetRadioFromPostWithValueZero()
873875
{
874876
$_POST['bar'] = 0;
877+
875878
$this->assertSame(' checked="checked"', set_radio('bar', '0'));
876879
$this->assertSame('', set_radio('bar', 'boop'));
877880

878881
$_POST = [];
882+
879883
$this->assertSame(' checked="checked"', set_radio('bar', '0', true));
880884
}
881885

@@ -891,6 +895,7 @@ public function testSetRadioFromPostArray()
891895
],
892896
],
893897
];
898+
894899
$this->assertSame(' checked="checked"', set_radio('bar', 'boop'));
895900
$this->assertSame('', set_radio('bar', 'baz'));
896901
}
@@ -907,6 +912,7 @@ public function testSetRadioFromPostArrayWithValueZero()
907912
],
908913
],
909914
];
915+
910916
$this->assertSame(' checked="checked"', set_radio('bar', '0'));
911917
$this->assertSame('', set_radio('bar', 'baz'));
912918
}

0 commit comments

Comments
 (0)