浏览代码

Only import "testing" from *_test.go

This prevents the testing package flags from leaking into the flagsets
of binaries that import docker. I left integration-cli alone.

Docker-DCO-1.1-Signed-off-by: Peter Bourgon <peter@bourgon.org> (github: peterbourgon)
Peter Bourgon 11 年之前
父节点
当前提交
b87daf6d69
共有 3 个文件被更改,包括 2 次插入0 次删除
  1. 0 0
      daemon/graphdriver/graphtest/graph_test.go
  2. 2 0
      pkg/mount/mountinfo_linux_test.go
  3. 0 0
      pkg/testutils/utils_test.go

+ 0 - 0
daemon/graphdriver/graphtest/graphtest.go → daemon/graphdriver/graphtest/graph_test.go


+ 2 - 0
pkg/mount/mountinfo_test_linux.go → pkg/mount/mountinfo_linux_test.go

@@ -1,3 +1,5 @@
+// +build linux
+
 package mount
 
 import (

+ 0 - 0
pkg/testutils/testutils.go → pkg/testutils/utils_test.go