From b2ae312a7257645310f147fce3e0b9008589e8ad Mon Sep 17 00:00:00 2001 From: Ira Abramov Date: Tue, 19 Nov 2024 22:24:00 +0200 Subject: [PATCH] I guess this needs to be fixed to pass the tests... --- test/plugins/battery.plugin.bats | 1 + 1 file changed, 1 insertion(+) diff --git a/test/plugins/battery.plugin.bats b/test/plugins/battery.plugin.bats index 9fbcb24fbc..aa4aef5471 100644 --- a/test/plugins/battery.plugin.bats +++ b/test/plugins/battery.plugin.bats @@ -269,6 +269,7 @@ function setup_upower { function setup_ioreg { percent="$1" + # shellcheck disable=SC2317 function ioreg { printf "\"MaxCapacity\" = 100\n\"CurrentCapacity\" = %s" "${percent}" }