summaryrefslogtreecommitdiff
path: root/libpod/util_test.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2017-11-02 13:17:09 -0500
committerbaude <bbaude@redhat.com>2017-11-04 11:12:14 -0500
commit0026075d59b5e6e90786ed21825ac43d4f59fa5a (patch)
treee50aa13cd31b63d797cabe4b9157599bf2f36898 /libpod/util_test.go
parent69cecb049aaf37fcc9a086b3f3f84e6e63174b14 (diff)
downloadpodman-0026075d59b5e6e90786ed21825ac43d4f59fa5a.tar.gz
podman-0026075d59b5e6e90786ed21825ac43d4f59fa5a.tar.bz2
podman-0026075d59b5e6e90786ed21825ac43d4f59fa5a.zip
libpod/runtime_img_test.go Unit Tests
Unit tests for getRegistry related functions. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'libpod/util_test.go')
-rw-r--r--libpod/util_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpod/util_test.go b/libpod/util_test.go
index b3d336d1f..24e5fdfac 100644
--- a/libpod/util_test.go
+++ b/libpod/util_test.go
@@ -1,10 +1,10 @@
package libpod
-
import (
- "testing"
"github.com/stretchr/testify/assert"
+ "testing"
)
+
var (
sliceData = []string{"one", "two", "three", "four"}
)
@@ -16,4 +16,4 @@ func TestStringInSlice(t *testing.T) {
assert.False(t, StringInSlice("five", sliceData))
// string is not in empty slice
assert.False(t, StringInSlice("one", []string{}))
-} \ No newline at end of file
+}