mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
integration: remove unused constants and fields (unused)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
ad95c6315d
commit
d948306255
3 changed files with 2 additions and 5 deletions
|
@ -385,7 +385,6 @@ func TestCreateWithCustomReadonlyPaths(t *testing.T) {
|
|||
ctx := context.Background()
|
||||
|
||||
testCases := []struct {
|
||||
doc string
|
||||
readonlyPaths []string
|
||||
expected []string
|
||||
}{
|
||||
|
|
|
@ -88,6 +88,6 @@ func TestRemoveImageGarbageCollector(t *testing.T) {
|
|||
|
||||
// Run imageService.Cleanup() and make sure that layer was removed from disk
|
||||
i.Cleanup()
|
||||
dir, err = os.Stat(data["UpperDir"])
|
||||
assert.ErrorContains(t, err, "no such file or directory")
|
||||
_, err = os.Stat(data["UpperDir"])
|
||||
assert.Assert(t, os.IsNotExist(err))
|
||||
}
|
||||
|
|
|
@ -17,8 +17,6 @@ func init() {
|
|||
reexec.Init() // This is required for external graphdriver tests
|
||||
}
|
||||
|
||||
const dockerdBinary = "dockerd"
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
var err error
|
||||
testEnv, err = environment.New()
|
||||
|
|
Loading…
Reference in a new issue