Skip to content

Commit

Permalink
Reduce decimal points, since there is a micro differencess on runtime…
Browse files Browse the repository at this point in the history
… and update travis status
  • Loading branch information
toopay committed May 16, 2012
1 parent 14455e5 commit 09a1b5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
4 changes: 2 additions & 2 deletions tests/codeigniter/core/Benchmark_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

// --------------------------------------------------------------------
Expand Down

0 comments on commit 09a1b5e

Please sign in to comment.