1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

Improved correction factor, so that the ratio is a nice percentage.

This commit is contained in:
Dominik Ritter 2015-04-02 09:54:40 +02:00
parent 94af6aae43
commit 4ad84c0936

View file

@ -333,7 +333,7 @@ prompt_symfony2_tests() {
# Show a ratio of tests vs code
build_test_stats() {
local code_amount=$2
local tests_amount=$3+0.01
local tests_amount=$3+0.00001
local headline=$4
# Set float precision to 2 digits: