From e3d5c063ef38ff4ecbe3de3152003b54d7a7f05d Mon Sep 17 00:00:00 2001 From: leevic31 Date: Thu, 16 May 2024 15:38:49 -0400 Subject: [PATCH] Added summary TTY message to tests --- pkg/cmd/extension/command_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkg/cmd/extension/command_test.go b/pkg/cmd/extension/command_test.go index e16ab69b1..fc9c414a3 100644 --- a/pkg/cmd/extension/command_test.go +++ b/pkg/cmd/extension/command_test.go @@ -332,7 +332,7 @@ func TestNewCmdExtension(t *testing.T) { } }, isTTY: true, - wantStdout: "", + wantStdout: "✓ Successfully checked extension upgrades\n", }, { name: "upgrade an extension dry run", @@ -352,7 +352,7 @@ func TestNewCmdExtension(t *testing.T) { } }, isTTY: true, - wantStdout: "", + wantStdout: "✓ Successfully checked extension upgrades\n", }, { name: "upgrade an extension notty", @@ -385,7 +385,7 @@ func TestNewCmdExtension(t *testing.T) { } }, isTTY: true, - wantStdout: "", + wantStdout: "✓ Successfully checked extension upgrades\n", }, { name: "upgrade extension error", @@ -420,7 +420,7 @@ func TestNewCmdExtension(t *testing.T) { } }, isTTY: true, - wantStdout: "", + wantStdout: "✓ Successfully checked extension upgrades\n", }, { name: "upgrade an extension full name", @@ -436,7 +436,7 @@ func TestNewCmdExtension(t *testing.T) { } }, isTTY: true, - wantStdout: "", + wantStdout: "✓ Successfully checked extension upgrades\n", }, { name: "upgrade all", @@ -452,7 +452,7 @@ func TestNewCmdExtension(t *testing.T) { } }, isTTY: true, - wantStdout: "", + wantStdout: "✓ Successfully checked extension upgrades\n", }, { name: "upgrade all dry run", @@ -472,7 +472,7 @@ func TestNewCmdExtension(t *testing.T) { } }, isTTY: true, - wantStdout: "", + wantStdout: "✓ Successfully checked extension upgrades\n", }, { name: "upgrade all none installed", @@ -853,7 +853,7 @@ func TestNewCmdExtension(t *testing.T) { } }, isTTY: true, - wantStdout: "", + wantStdout: "✓ Successfully checked extension upgrades\n", }, }