Skip to content

Commit

Permalink
change taskrun and pipelinerun delete test names
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhelfand authored and tekton-robot committed May 26, 2020
1 parent b6193d2 commit 8d9fa27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/cmd/pipeline/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func TestPipelineDelete(t *testing.T) {
want: "failed to delete pipeline \"nonexistent\": pipelines.tekton.dev \"nonexistent\" not found; failed to delete pipeline \"nonexistent2\": pipelines.tekton.dev \"nonexistent2\" not found",
},
{
name: "With delete all flag, reply yes",
name: "With --prs flag, reply yes",
command: []string{"rm", "pipeline", "-n", "ns", "--prs"},
dynamic: seeds[3].dynamicClient,
input: seeds[3].pipelineClient,
Expand All @@ -205,7 +205,7 @@ func TestPipelineDelete(t *testing.T) {
want: "Are you sure you want to delete pipeline and related resources \"pipeline\" (y/n): PipelineRuns deleted: \"pipeline-run-1\", \"pipeline-run-2\"\nPipelines deleted: \"pipeline\"\n",
},
{
name: "With delete all and force delete flag",
name: "With --prs and force delete flag",
command: []string{"rm", "pipeline", "-n", "ns", "-f", "--prs"},
dynamic: seeds[4].dynamicClient,
input: seeds[4].pipelineClient,
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/task/delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func TestTaskDelete(t *testing.T) {
want: "Are you sure you want to delete task and related resources \"task\" (y/n): TaskRuns deleted: \"task-run-1\", \"task-run-2\"\nTasks deleted: \"task\"\n",
},
{
name: "With delete all and force delete flag",
name: "With --trs and force delete flag",
command: []string{"rm", "task", "-n", "ns", "-f", "--trs"},
dynamic: seeds[4].dynamicClient,
input: seeds[4].pipelineClient,
Expand Down

0 comments on commit 8d9fa27

Please sign in to comment.