wrong test case updated

This commit is contained in:
Sulabh Chaturvedi 2020-08-18 20:13:33 +01:00
parent 2056c06bb0
commit 32b3bb47a2

View File

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