remove logf to clean up tests output

This commit is contained in:
redanthrax 2022-06-28 15:27:11 -07:00
parent 5855283d24
commit 75e6d3240f
10 changed files with 4 additions and 26 deletions

View file

@ -17,17 +17,13 @@ func TestGetDisks(t *testing.T) {
if len(disks) < 1 {
t.Errorf("Could not get disks")
}
t.Logf("Result: %v", disks)
}
func TestSystemRebootRequired(t *testing.T) {
result, err := a.SystemRebootRequired()
_, err := a.SystemRebootRequired()
if err != nil {
t.Error(err)
}
t.Logf("Result: %t", result)
}
func TestLoggedOnUser(t *testing.T) {
@ -35,6 +31,4 @@ func TestLoggedOnUser(t *testing.T) {
if result == "" {
t.Errorf("Could not get logged on user.")
}
t.Logf("Result: %s", result)
}