mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
Improved correction factor, so that the ratio is a nice percentage.
This commit is contained in:
parent
94af6aae43
commit
4ad84c0936
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ prompt_symfony2_tests() {
|
||||||
# Show a ratio of tests vs code
|
# Show a ratio of tests vs code
|
||||||
build_test_stats() {
|
build_test_stats() {
|
||||||
local code_amount=$2
|
local code_amount=$2
|
||||||
local tests_amount=$3+0.01
|
local tests_amount=$3+0.00001
|
||||||
local headline=$4
|
local headline=$4
|
||||||
|
|
||||||
# Set float precision to 2 digits:
|
# Set float precision to 2 digits:
|
||||||
|
|
Loading…
Reference in a new issue