diff options
author | Taufan Aditya <toopay@taufanaditya.com> | 2012-05-16 17:18:00 +0200 |
---|---|---|
committer | Taufan Aditya <toopay@taufanaditya.com> | 2012-05-16 17:18:00 +0200 |
commit | 09a1b5e7fb3c930aa9a50e246236227a499b5d28 (patch) | |
tree | 6545862e48234e1f5b0cdca74f3f015b539a6b5d /tests/codeigniter/core | |
parent | 14455e57770112bf8cd938980925ded12f3cba9e (diff) |
Reduce decimal points, since there is a micro differencess on runtime and update travis status
Diffstat (limited to 'tests/codeigniter/core')
-rw-r--r-- | tests/codeigniter/core/Benchmark_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codeigniter/core/Benchmark_test.php b/tests/codeigniter/core/Benchmark_test.php index 2790b582e..109b38821 100644 --- a/tests/codeigniter/core/Benchmark_test.php +++ b/tests/codeigniter/core/Benchmark_test.php @@ -29,8 +29,8 @@ class Benchmark_test extends CI_TestCase { $this->benchmark->mark('code_start'); sleep(1); $this->benchmark->mark('code_end'); - - $this->assertEquals('1.00', $this->benchmark->elapsed_time('code_start', 'code_end', 3)); + + $this->assertEquals('1.0', $this->benchmark->elapsed_time('code_start', 'code_end', 1)); } // -------------------------------------------------------------------- |