From 5da3528524533a0c0a13c78fdd387e21eef63f95 Mon Sep 17 00:00:00 2001 From: twinguy Date: Mon, 24 Mar 2025 16:56:21 -0500 Subject: [PATCH] Remove deprecated tests Signed-off-by: twinguy --- cmd/run_test.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/cmd/run_test.go b/cmd/run_test.go index e52f91d5..4d733a4c 100644 --- a/cmd/run_test.go +++ b/cmd/run_test.go @@ -48,21 +48,3 @@ func TestDetectIncompatibleFlags(t *testing.T) { assert.NotContains(t, incompatibleFlags, "kubernetes") }) } - -func TestGenerateWarningMessage(t *testing.T) { - t.Run("warning message", func(t *testing.T) { - warning := generateWarningMessage([]string{"app-id", "app-port"}) - assert.Contains(t, warning, "app-id, app-port") - assert.Contains(t, warning, "ignored when using --run-file") - }) - - t.Run("warning message with multiple flags", func(t *testing.T) { - warning := generateWarningMessage([]string{ - "app-id", "app-port", "app-protocol", "app-max-concurrency", - "dapr-http-port", "dapr-grpc-port", "resources-path", - }) - assert.Contains(t, warning, "app-id") - assert.Contains(t, warning, "dapr-http-port") - assert.Contains(t, warning, "ignored when using --run-file") - }) -}