moby/builder
Sebastiaan van Stijn 45f49fe5c3
TestDispatch: refactor to use subtests again, and fix linting (structcheck)
Instead of using a `initDispatchTestCases()` function, declare the test-table
inside `TestDispatch` itself, and run the tests as subtests.

```
[2019-08-27T15:14:51.072Z] builder/dockerfile/evaluator_test.go:18:2: `name` is unused (structcheck)
[2019-08-27T15:14:51.072Z] 	name, expectedError string
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit a3f9cb5b63)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-09-25 21:35:56 +02:00
..
builder-next atomic: patch 64bit alignment on 32bit systems 2019-09-16 15:32:14 +02:00
dockerfile TestDispatch: refactor to use subtests again, and fix linting (structcheck) 2019-09-25 21:35:56 +02:00
dockerignore Add canonical import comment 2018-02-05 16:51:57 -05:00
fscache bump up buildkit 2018-10-05 18:33:03 +09:00
remotecontext gitutils: add validation for ref 2019-03-26 22:05:46 +00:00
builder.go Windows: (WCOW) Generate OCI spec that remote runtime can escape 2019-03-12 18:41:55 -07:00