mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-08-25 18:38:35 +00:00
Update test to print message for empty contexts
This commit is contained in:
parent
0e2ea151b6
commit
2056c06bb0
@ -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" {
|
||||||
|
Loading…
Reference in New Issue
Block a user