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" {