From d24652d4ef8232fa6cfd675aa80d1e182073a220 Mon Sep 17 00:00:00 2001 From: Dan Bernardic Date: Sun, 11 Jan 2015 22:01:23 -0600 Subject: Added support for running unit tests on PHP 5.2 Signed-off-by: Dan Bernardic --- tests/codeigniter/core/Output_test.php | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'tests/codeigniter/core') diff --git a/tests/codeigniter/core/Output_test.php b/tests/codeigniter/core/Output_test.php index a06c17045..887c077d7 100644 --- a/tests/codeigniter/core/Output_test.php +++ b/tests/codeigniter/core/Output_test.php @@ -3,19 +3,20 @@ class Output_test extends CI_TestCase { public $output; - protected $_output_data = << - - Basic HTML - - - Test - - -HTML; + protected $_output_data = ''; public function set_up() { + $this->_output_data =<< + + Basic HTML + + + Test + + +HTML; $this->ci_set_config('charset', 'UTF-8'); $output = $this->ci_core_class('output'); $this->output = new $output(); @@ -59,4 +60,4 @@ HTML; ); } -} \ No newline at end of file +} -- cgit v1.2.3-24-g4f1b