diff --git a/sztp-agent/cmd/status_test.go b/sztp-agent/cmd/status_test.go index 9e8cb8a6..75717bee 100644 --- a/sztp-agent/cmd/status_test.go +++ b/sztp-agent/cmd/status_test.go @@ -11,13 +11,13 @@ import ( "github.com/spf13/cobra" ) -func StatusCommand(t *testing.T) { +func TestStatusCommand(t *testing.T) { tests := []struct { name string want *cobra.Command }{ { - name: "StatusCommand", + name: "TestStatusCommand", want: &cobra.Command{ Use: "status", Short: "Run the status command",