mirror of
https://github.com/romkatv/powerlevel10k
synced 2025-01-01 10:52:07 +00:00
Improved correction factor, so that the ratio is a nice percentage.
This commit is contained in:
parent
94af6aae43
commit
4ad84c0936
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user