summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorDebarshi Ray <rishi@fedoraproject.org>2020-11-02 23:54:54 +0100
committerDebarshi Ray <rishi@fedoraproject.org>2020-11-03 19:36:44 +0100
commit2b859a9d183861ec2e85dee28c9843401f1830aa (patch)
tree84112c04ba3043eb2547283a969b11f63bf04439 /libpod/container.go
parent110c1c8b4b74ee5e2a551402d94a9c31c1e06327 (diff)
downloadpodman-2b859a9d183861ec2e85dee28c9843401f1830aa.tar.gz
podman-2b859a9d183861ec2e85dee28c9843401f1830aa.tar.bz2
podman-2b859a9d183861ec2e85dee28c9843401f1830aa.zip
Improve error messages from failing tests
Using a function like ContainSubstring or Equal is better because if the test fails it will log a descriptive error that includes the actual string generated during the test. This is more helpful than a function like BeTrue that will only indicate that an assertion failed without giving further details of the failure. Signed-off-by: Debarshi Ray <rishi@fedoraproject.org>
Diffstat (limited to 'libpod/container.go')
0 files changed, 0 insertions, 0 deletions