MCPcopy Create free account
hub / github.com/containerd/nerdctl / AssertOK

Method AssertOK

pkg/testutil/testutil.go:385–388  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

383}
384
385func (c *Cmd) AssertOK() {
386 c.Base.T.Helper()
387 c.AssertExitCode(0)
388}
389
390func (c *Cmd) AssertFail() {
391 c.Base.T.Helper()

Callers 15

EnsureImagesFunction · 0.80
preparePsTestContainerFunction · 0.80
TestRunHostLookupFunction · 0.80
TestHostPortAlreadyInUseFunction · 0.80
TestHostsFileMountsFunction · 0.80

Calls 2

AssertExitCodeMethod · 0.95
HelperMethod · 0.65

Tested by 15

preparePsTestContainerFunction · 0.64
TestRunHostLookupFunction · 0.64
TestHostPortAlreadyInUseFunction · 0.64
TestHostsFileMountsFunction · 0.64
TestRunMountVolumeFunction · 0.64