summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-01-16 10:20:18 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-01-17 15:26:43 +0000
commit0ae9097b323039dff9ebdb939ed00ce573dfcd6b (patch)
tree0e01b165ca49d9a33d24d0061a7f87a6d13d801e /libpod
parentaa20a25ca060f13faeca30337d4792c5a7f00aa0 (diff)
downloadpodman-0ae9097b323039dff9ebdb939ed00ce573dfcd6b.tar.gz
podman-0ae9097b323039dff9ebdb939ed00ce573dfcd6b.tar.bz2
podman-0ae9097b323039dff9ebdb939ed00ce573dfcd6b.zip
Fix gofmt
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #229 Approved by: rhatdan
Diffstat (limited to 'libpod')
-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)
}