Permalink
Browse files

Reduce decimal points, since there is a micro differencess on runtime…

… and update travis status
  • Loading branch information...
1 parent 14455e5 commit 09a1b5e7fb3c930aa9a50e246236227a499b5d28 @toopay toopay committed May 16, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 tests/README.md
  2. +2 −2 tests/codeigniter/core/Benchmark_test.php
View
@@ -1,6 +1,6 @@
# CodeIgniter Unit Tests #
-Status : [![Build Status](https://secure.travis-ci.org/EllisLab/CodeIgniter.png?branch=feature/unit-tests)](http://travis-ci.org/EllisLab/CodeIgniter)
+Status : [![Build Status](https://secure.travis-ci.org/EllisLab/CodeIgniter.png?branch=develop)](http://travis-ci.org/EllisLab/CodeIgniter)
### Introduction:
@@ -29,8 +29,8 @@ public function test_elapsed_time()
$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));
}
// --------------------------------------------------------------------

0 comments on commit 09a1b5e

Please sign in to comment.