diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-01-16 10:20:18 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-01-17 15:26:43 +0000 |
commit | 0ae9097b323039dff9ebdb939ed00ce573dfcd6b (patch) | |
tree | 0e01b165ca49d9a33d24d0061a7f87a6d13d801e | |
parent | aa20a25ca060f13faeca30337d4792c5a7f00aa0 (diff) | |
download | podman-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
-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 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) } |