moby--moby/opts
Sebastiaan van Stijn 346a438da8
opts: TestParseLink(): add test-case for legacy format
The ParseLink() function has special handling for legacy formats;

> This is kept because we can actually get a HostConfig with links
> from an already created container and the format is not `foo:bar`
> but `/foo:/c1/bar`

This patch adds a test-case for this format. While updating, also switching
to use gotest.tools assertions.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-01 11:05:19 +01:00
..
address_pools.go
address_pools_test.go
env.go
env_test.go
hosts.go
hosts_test.go
hosts_unix.go
hosts_windows.go
opts.go
opts_test.go opts: TestParseLink(): add test-case for legacy format 2022-11-01 11:05:19 +01:00
runtime.go
ulimit.go
ulimit_test.go