Update test to print message for empty contexts

This commit is contained in:
Sulabh Chaturvedi 2020-08-18 20:04:33 +01:00
parent 0e2ea151b6
commit 2056c06bb0

View File

@ -227,7 +227,7 @@ load common
run ${COMMAND} run ${COMMAND}
echo "$output" echo "$output"
[ "$status" -eq 0 ] [ "$status" -eq 0 ]
[[ "$output" = "user2@cluster1" ]] [[ "$output" = "warning: No kubectl context found" ]]
} }
@test "unset selected context" { @test "unset selected context" {