Finish tests for helper methods

This commit is contained in:
Tai Groot
2021-05-15 19:07:47 -07:00
parent 64249bf8e6
commit b1346b7992
3 changed files with 107 additions and 4 deletions

View File

@@ -23,4 +23,6 @@ var (
ErrUnitNotRunning = errors.New("Unit isn't running")
// ErrBusFailure means $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR were not defined
ErrBusFailure = errors.New("Failure to connect to bus, did you run in usermode as root?")
// ErrValueNotSet means an expected value is unavailable, but the unit may be running
ErrValueNotSet = errors.New("Value not set or unavailable")
)