From a01f0a7b339c76577b42c905615a2d33aa235452 Mon Sep 17 00:00:00 2001 From: konrad Date: Tue, 16 Jan 2018 16:24:29 +0100 Subject: [PATCH] gofmt --- models/config_test.go | 2 +- models/models_test.go | 4 ++-- models/quantity_test.go | 2 +- models/status_test.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/models/config_test.go b/models/config_test.go index 8b9d105..9f8221b 100644 --- a/models/config_test.go +++ b/models/config_test.go @@ -1,10 +1,10 @@ package models import ( - "testing" "github.com/stretchr/testify/assert" "io/ioutil" "os" + "testing" ) func TestSetConfig(t *testing.T) { diff --git a/models/models_test.go b/models/models_test.go index 9a75fec..06664fe 100644 --- a/models/models_test.go +++ b/models/models_test.go @@ -1,12 +1,12 @@ package models import ( - "testing" "github.com/stretchr/testify/assert" + "testing" ) func TestSetEngine(t *testing.T) { Config.Database.Path = "file::memory:?cache=shared" err := SetEngine() assert.NoError(t, err) -} \ No newline at end of file +} diff --git a/models/quantity_test.go b/models/quantity_test.go index 5b8618f..9d6d6b9 100644 --- a/models/quantity_test.go +++ b/models/quantity_test.go @@ -1,8 +1,8 @@ package models import ( - "testing" "github.com/stretchr/testify/assert" + "testing" ) func TestSetQuantity(t *testing.T) { diff --git a/models/status_test.go b/models/status_test.go index eb44802..2d50f79 100644 --- a/models/status_test.go +++ b/models/status_test.go @@ -1,8 +1,8 @@ package models import ( - "testing" "github.com/stretchr/testify/assert" + "testing" ) func TestGetStatusList(t *testing.T) {