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}" }