podman/test/utils
Ed Santiago 12787963b0 e2e tests: more cleanup of BeTrue()s
Write a BeValidJSON() matcher, and replace IsJSONOutputValid():

  sed -i -e 's/Expect(\(.*\)\.IsJSONOutputValid()).To(BeTrue())/Expect(\1.OutputToString())\.To(BeValidJSON())/' test/e2e/*_test.go

(Plus a few manual tweaks)

Signed-off-by: Ed Santiago <santiago@redhat.com>
2021-11-30 09:51:06 -07:00
..
common_function_test.go e2e tests: enable golint 2021-11-29 08:30:00 -07:00
matchers.go e2e tests: more cleanup of BeTrue()s 2021-11-30 09:51:06 -07:00
podmansession_test.go bump go module to v3 2021-02-22 09:03:51 +01:00
podmantest_test.go test: run --cgroups=split in new cgroup 2021-11-04 13:16:17 +01:00
utils.go e2e tests: enable golint 2021-11-29 08:30:00 -07:00
utils_suite_test.go bump go module to v3 2021-02-22 09:03:51 +01:00