1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/internal/test
Sebastiaan van Stijn e6c0d19c3a
client: define "Opt" type
Minor improvement, but makes defining a list of options
a bit cleaner, and more descriptive;

Before:

    opts := make([]func(*client.Client) error, 0)

After:

    opts := make([]client.Opt, 0)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-10 01:23:45 +02:00
..
daemon Testing: create new daemon (only) if needed 2019-02-23 13:32:59 +01:00
environment internal: test/env: switch to assert.TestingT 2019-03-13 11:48:40 +11:00
fakecontext Make testing helpers as such… 2018-04-20 10:38:43 +02:00
fakegit Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
fakestorage Fix some minor wording / issues 2019-01-07 13:57:01 +01:00
fixtures Remove the rest of v1 manifest support 2019-03-02 10:46:37 -08:00
registry Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
request client: define "Opt" type 2019-04-10 01:23:45 +02:00
helper.go Make testing helpers as such… 2018-04-20 10:38:43 +02:00