Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… and update travis status
  • Loading branch information...
commit 09a1b5e7fb3c930aa9a50e246236227a499b5d28 1 parent 14455e5
Taufan Aditya toopay authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  tests/README.md
  2. +2 −2 tests/codeigniter/core/Benchmark_test.php
2  tests/README.md
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:
4 tests/codeigniter/core/Benchmark_test.php
View
@@ -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));
}
// --------------------------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.