mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-28 07:44:38 +00:00
Improved correction factor, so that the ratio is a nice percentage.
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user