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
|
|
@ -22,8 +22,6 @@ func TestSystemRebootRequired(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
t.Logf("System Reboot Required %t", required)
|
||||
}
|
||||
|
||||
func TestShowStatus(t *testing.T) {
|
||||
|
|
@ -41,8 +39,6 @@ func TestLoggedOnUser(t *testing.T) {
|
|||
if user == "" {
|
||||
t.Fatalf("Expected a user, got empty")
|
||||
}
|
||||
|
||||
t.Logf("Logged on user: %s", user)
|
||||
}
|
||||
|
||||
func TestOsString(t *testing.T) {
|
||||
|
|
@ -50,6 +46,4 @@ func TestOsString(t *testing.T) {
|
|||
if osString == "error getting host info" {
|
||||
t.Fatalf("Unable to get OS string")
|
||||
}
|
||||
|
||||
t.Logf("OS String: %s", osString)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue