mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-03-23 04:24:27 +02: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…
x
Reference in New Issue
Block a user