diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-23 17:38:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 17:38:43 +0100 |
commit | 54b82a175f16f27849e6791f65bf73eccae4701a (patch) | |
tree | 063ba11dfe87b045518793cd2a6f1bcfa3926671 /libpod/state_test.go | |
parent | 8544bb57fe5e9222509827a7f5aa648516b9cd98 (diff) | |
parent | 4fa1fce930f13d71f39b65bad3f46f61d961ab51 (diff) | |
download | podman-54b82a175f16f27849e6791f65bf73eccae4701a.tar.gz podman-54b82a175f16f27849e6791f65bf73eccae4701a.tar.bz2 podman-54b82a175f16f27849e6791f65bf73eccae4701a.zip |
Merge pull request #8787 from jsoref/spelling
Spelling
Diffstat (limited to 'libpod/state_test.go')
-rw-r--r-- | libpod/state_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpod/state_test.go b/libpod/state_test.go index da28f3d3f..0709071ec 100644 --- a/libpod/state_test.go +++ b/libpod/state_test.go @@ -882,7 +882,7 @@ func TestRemoveContainer(t *testing.T) { }) } -func TestRemoveNonexistantContainerFails(t *testing.T) { +func TestRemoveNonexistentContainerFails(t *testing.T) { runForAllStates(t, func(t *testing.T, state State, manager lock.Manager) { testCtr, err := getTestCtr1(manager) assert.NoError(t, err) @@ -1513,7 +1513,7 @@ func TestGetNotExistPodWithPods(t *testing.T) { err = state.AddPod(testPod2) assert.NoError(t, err) - _, err = state.Pod("notexist") + _, err = state.Pod("nonexistent") assert.Error(t, err) }) } @@ -1748,7 +1748,7 @@ func TestHasPodEmptyIDErrors(t *testing.T) { func TestHasPodNoSuchPod(t *testing.T) { runForAllStates(t, func(t *testing.T, state State, manager lock.Manager) { - exist, err := state.HasPod("notexist") + exist, err := state.HasPod("nonexistent") assert.NoError(t, err) assert.False(t, exist) }) |