diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-05-16 18:26:32 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-05-16 18:26:32 +0200 |
commit | c59e8720177d96a1dec1b2cbcd6296bbfceb4a2b (patch) | |
tree | 2009ecdf626f0b86adf683dfbe04a71de388b3be /tests/codeigniter | |
parent | 8279420f989a8cda4427c3983ee919c6a1073dd7 (diff) | |
parent | 09a1b5e7fb3c930aa9a50e246236227a499b5d28 (diff) |
Merge pull request #1364 from toopay/core-tests
Reduce decimal points, since there is a micro differencess on runtime an...
Diffstat (limited to 'tests/codeigniter')
-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)); } // -------------------------------------------------------------------- |