1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder
Sebastiaan van Stijn a3f9cb5b63
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>
2019-09-11 11:13:03 +02:00
..
builder-next Merge pull request #39781 from tonistiigi/update-buildkit 2019-08-22 20:12:53 +02:00
dockerfile TestDispatch: refactor to use subtests again, and fix linting (structcheck) 2019-09-11 11:13:03 +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