mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-08-25 10:28:32 +00:00
wrong test case updated
This commit is contained in:
parent
2056c06bb0
commit
32b3bb47a2
@ -214,7 +214,7 @@ load common
|
|||||||
run ${COMMAND}
|
run ${COMMAND}
|
||||||
echo "$output"
|
echo "$output"
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
[[ "$output" = "" ]]
|
[[ "$output" = "warning: No kubectl context found" ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "delete several contexts including a non existent one" {
|
@test "delete several contexts including a non existent one" {
|
||||||
@ -227,7 +227,7 @@ load common
|
|||||||
run ${COMMAND}
|
run ${COMMAND}
|
||||||
echo "$output"
|
echo "$output"
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
[[ "$output" = "warning: No kubectl context found" ]]
|
[[ "$output" = "user2@cluster1" ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "unset selected context" {
|
@test "unset selected context" {
|
||||||
|
Loading…
Reference in New Issue
Block a user