Skip to content

Commit

Permalink
Better test
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamgilbert committed May 28, 2024
1 parent 9d89563 commit c9efbc2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tables/wifi_network/wifi_network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c9efbc2

Please sign in to comment.