diff --git a/tables/wifi_network/wifi_network_test.go b/tables/wifi_network/wifi_network_test.go index 1e14202..af31d89 100644 --- a/tables/wifi_network/wifi_network_test.go +++ b/tables/wifi_network/wifi_network_test.go @@ -233,12 +233,10 @@ func TestBuildWifiNetworkResults(t *testing.T) { } func TestGetWdutilOutput(t *testing.T) { - t.Log(wdutilOut) mockCmdExecutor := MockCommandExecutor{} result, err := getWdutilOutput(mockCmdExecutor) assert.NoError(t, err) - t.Logf("Result: %s", result) - assert.NotEmpty(t, result) + assert.Equal(t, string(wdutilOut), result) } func TestExtractSecurityValue(t *testing.T) {