Change quoting format

This commit is contained in:
Xiangyang Chu
2019-05-16 18:58:36 +08:00
parent 81eb22900b
commit cfc7b0d9c3
2 changed files with 9 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ run_job_tests() {
### Create a new namespace
# Pre-condition: the test-jobs namespace does not exist
kube::test::get_object_assert 'namespaces' '{{range.items}}{{ if eq '"${id_field:?}"' \"test-jobs\" }}found{{end}}{{end}}:' ':'
kube::test::get_object_assert 'namespaces' "{{range.items}}{{ if eq ${id_field:?} \\\"test-jobs\\\" }}found{{end}}{{end}}:" ':'
# Command
kubectl create namespace test-jobs
# Post-condition: namespace 'test-jobs' is created.