Added test for the "no" energy tool case
This commit is contained in:
@@ -34,6 +34,18 @@ function setup_command_exists {
|
||||
}
|
||||
}
|
||||
|
||||
#######################
|
||||
#
|
||||
# no tool
|
||||
#
|
||||
|
||||
@test 'plugins battery: battery-percentage with no tool' {
|
||||
setup_command_exists "fooooo"
|
||||
|
||||
run battery_percentage
|
||||
assert_output "no"
|
||||
}
|
||||
|
||||
#######################
|
||||
#
|
||||
# pmset
|
||||
|
||||
Reference in New Issue
Block a user