aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpod/state_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpod/state_test.go b/libpod/state_test.go
index ac84a63d9..a1a4e23e1 100644
--- a/libpod/state_test.go
+++ b/libpod/state_test.go
@@ -152,7 +152,7 @@ func TestAddInvalidContainerFails(t *testing.T) {
}
func addInvalidContainerFails(t *testing.T, state State, lockPath string) {
- err := state.AddContainer(&Container{config:&ContainerConfig{ID: "1234"}})
+ err := state.AddContainer(&Container{config: &ContainerConfig{ID: "1234"}})
assert.Error(t, err)
}
@@ -398,7 +398,7 @@ func TestUpdateInvalidContainerReturnsError(t *testing.T) {
}
func updateInvalidContainerReturnsError(t *testing.T, state State, lockPath string) {
- err := state.UpdateContainer(&Container{config:&ContainerConfig{ID: "1234"}})
+ err := state.UpdateContainer(&Container{config: &ContainerConfig{ID: "1234"}})
assert.Error(t, err)
}
@@ -407,7 +407,7 @@ func TestSaveInvalidContainerReturnsError(t *testing.T) {
}
func saveInvalidContainerReturnsError(t *testing.T, state State, lockPath string) {
- err := state.SaveContainer(&Container{config:&ContainerConfig{ID: "1234"}})
+ err := state.SaveContainer(&Container{config: &ContainerConfig{ID: "1234"}})
assert.Error(t, err)
}