From 32b3bb47a25461221fa2a560655275b5eb2e205d Mon Sep 17 00:00:00 2001 From: Sulabh Chaturvedi Date: Tue, 18 Aug 2020 20:13:33 +0100 Subject: [PATCH] wrong test case updated --- test/kubectx.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/kubectx.bats b/test/kubectx.bats index c0a2837..ce5c203 100644 --- a/test/kubectx.bats +++ b/test/kubectx.bats @@ -214,7 +214,7 @@ load common run ${COMMAND} echo "$output" [ "$status" -eq 0 ] - [[ "$output" = "" ]] + [[ "$output" = "warning: No kubectl context found" ]] } @test "delete several contexts including a non existent one" { @@ -227,7 +227,7 @@ load common run ${COMMAND} echo "$output" [ "$status" -eq 0 ] - [[ "$output" = "warning: No kubectl context found" ]] + [[ "$output" = "user2@cluster1" ]] } @test "unset selected context" {