summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSharad Soni <sharadrsoni@gmail.com>2019-04-23 13:28:42 +0200
committerGitHub <noreply@github.com>2019-04-23 13:28:42 +0200
commitb08cacacb7385671b275ee7a1f7d4f6c6867ee20 (patch)
tree7a3a6bc87594e2eef37edbf639a469ac6d4630d6
parentadc1f27ba2d330c760703a00ee12f82ddd216350 (diff)
Updated test case for Log Class
Also added `\r\n` to pass the test case
-rw-r--r--tests/codeigniter/core/Log_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codeigniter/core/Log_test.php b/tests/codeigniter/core/Log_test.php
index 103af342b..de0f3800d 100644
--- a/tests/codeigniter/core/Log_test.php
+++ b/tests/codeigniter/core/Log_test.php
@@ -57,7 +57,7 @@ class Log_test extends CI_TestCase {
$format_line->setAccessible(TRUE);
$this->assertEquals(
$format_line->invoke($instance, 'LEVEL', 'Timestamp', 'Message'),
- "LEVEL - Timestamp --> Message\n"
+ "LEVEL - Timestamp --> Message\r\n"
);
}
}