From 8026c84c95c8f2f204eb6cedd343a9ef617d62b1 Mon Sep 17 00:00:00 2001 From: Pascal Fischer Date: Mon, 27 Feb 2023 17:45:02 +0100 Subject: [PATCH] remove flag test --- client/cmd/status_test.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/client/cmd/status_test.go b/client/cmd/status_test.go index d7a71bc3b..7281a1f12 100644 --- a/client/cmd/status_test.go +++ b/client/cmd/status_test.go @@ -111,18 +111,6 @@ func TestConversionFromFullStatusToOutputOverview(t *testing.T) { assert.Equal(t, overview, convertedResult) } -func TestForErrorOnMultipleOutputFlags(t *testing.T) { - rootCmd.SetArgs([]string{ - "status", - "--yaml", - "--json", - }) - if err := rootCmd.Execute(); err != nil { - return - } - t.Errorf("expected error while running status command with 2 output flags") -} - func TestSortingOfPeers(t *testing.T) { peers := []peerStateDetailOutput{ {