summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/codeigniter/core/Benchmark_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codeigniter/core/Benchmark_test.php b/tests/codeigniter/core/Benchmark_test.php
index a239ba51d..aff736a40 100644
--- a/tests/codeigniter/core/Benchmark_test.php
+++ b/tests/codeigniter/core/Benchmark_test.php
@@ -30,7 +30,7 @@ class Benchmark_test extends CI_TestCase {
sleep(1);
$this->benchmark->mark('code_end');
- $this->assertEquals('1.0', $this->benchmark->elapsed_time('code_start', 'code_end', 1));
+ $this->assertEquals('1', $this->benchmark->elapsed_time('code_start', 'code_end', 0));
}
// --------------------------------------------------------------------