Use ExpectNoError(err)

We missed another pattern to check error doesn't happen on e2e tests.
This covers the pattern for consistent test implementation.
This commit is contained in:
Kenichi Omichi
2020-09-03 18:37:01 +00:00
parent 6ee74bf600
commit 12c0eaef25
8 changed files with 25 additions and 22 deletions

View File

@@ -35,6 +35,10 @@ do
then
errors_expect_no_error+=( "${file}" )
fi
if grep -E "Expect\(err\)\.To\(gomega\.BeNil\(\)\)" "${file}" > /dev/null
then
errors_expect_no_error+=( "${file}" )
fi
done
errors_expect_error=()