diff options
author | Andrey Andreev <narf@devilix.net> | 2014-01-18 16:36:07 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-01-18 16:36:07 +0100 |
commit | ecaef964232f7889eb3eab35b69cebbf3221ad66 (patch) | |
tree | 56759ff61e0512db9debfceb6f119ea3ea4dc911 /tests/codeigniter/libraries/Parser_test.php | |
parent | 60f71be48a6b91cc314908c3c0007f13e9cb2f0a (diff) | |
parent | b2a0e70585367e59bf2d106629c0e9c3ab1370c2 (diff) |
Merge branch 'develop' into feature/output_compressed_cache
Diffstat (limited to 'tests/codeigniter/libraries/Parser_test.php')
-rw-r--r-- | tests/codeigniter/libraries/Parser_test.php | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/tests/codeigniter/libraries/Parser_test.php b/tests/codeigniter/libraries/Parser_test.php index 6e5c192dd..3755cf1a0 100644 --- a/tests/codeigniter/libraries/Parser_test.php +++ b/tests/codeigniter/libraries/Parser_test.php @@ -33,7 +33,7 @@ class Parser_test extends CI_TestCase { // -------------------------------------------------------------------- - public function test_parse_simple_string() + public function test_parse_string() { $data = array( 'title' => 'Page Title', @@ -69,11 +69,7 @@ class Parser_test extends CI_TestCase { { $data = array( 'title' => 'Super Heroes', - 'powers' => array( - array( - 'invisibility' => 'yes', - 'flying' => 'no'), - ) + 'powers' => array(array('invisibility' => 'yes', 'flying' => 'no')) ); $template = "{title}\n{powers}{invisibility}\n{flying}{/powers}\nsecond:{powers} {invisibility} {flying}{/powers}"; @@ -87,11 +83,7 @@ class Parser_test extends CI_TestCase { { $data = array( 'title' => 'Super Heroes', - 'powers' => array( - array( - 'invisibility' => 'yes', - 'flying' => 'no'), - ) + 'powers' => array(array('invisibility' => 'yes', 'flying' => 'no')) ); $template = "{title}\n{powers}{invisibility}\n{flying}"; |