summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/helpers
diff options
context:
space:
mode:
authorSébastien Adam <sebastien.adam.webdev@gmail.com>2015-12-01 20:02:07 +0100
committerSébastien Adam <sebastien.adam.webdev@gmail.com>2015-12-01 20:02:07 +0100
commit6ab09773d96ce6ac672a3d852256126d10aa25d8 (patch)
tree6b068464f44bf72064a4df8731d7aa44bd4c91e1 /tests/codeigniter/helpers
parentdfcc5318d378ae66dd21806c6ac2dad67d73dc26 (diff)
Modified as asked after pull request:
* comment of meta fuction adapted * alignments in meta fuction adapted * using '===' comparator in meta function * changing back the example of the meta function help * changing back the default value of the doctype function Also changing test unit to reflect the modification of the meta function (original tests not modified).
Diffstat (limited to 'tests/codeigniter/helpers')
-rw-r--r--tests/codeigniter/helpers/html_helper_test.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/codeigniter/helpers/html_helper_test.php b/tests/codeigniter/helpers/html_helper_test.php
index d66ad895c..0b9655bf5 100644
--- a/tests/codeigniter/helpers/html_helper_test.php
+++ b/tests/codeigniter/helpers/html_helper_test.php
@@ -87,6 +87,10 @@ EOH;
$this->assertEquals($expect, meta(array('name' => 'foo')));
+ $expect = "<meta charset=\"foo\" />\n";
+
+ $this->assertEquals($expect, meta(array('name' => 'foo', 'type' => 'charset')));
+
}
-} \ No newline at end of file
+}