remove logf to clean up tests output
This commit is contained in:
parent
5855283d24
commit
75e6d3240f
10 changed files with 4 additions and 26 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue