64a6cc3afd
- add some asserts for unhandled errors - use consts for fixed values, and slightly re-format Dockerfile contentt - inline one-line Dockerfiles - fix some vars to be properly camel-cased - improve assert for error-types; Before: === RUN TestBuildPlatformInvalid build_test.go:685: assertion failed: expression is false: errdefs.IsInvalidParameter(err) --- FAIL: TestBuildPlatformInvalid (0.01s) FAIL After: === RUN TestBuildPlatformInvalid build_test.go:689: assertion failed: error is Error response from daemon: "foobar": unknown operating system or architecture: invalid argument (errdefs.errSystem), not errdefs.IsInvalidParameter --- FAIL: TestBuildPlatformInvalid (0.01s) FAIL Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
testdata | ||
build_cgroupns_linux_test.go | ||
build_session_test.go | ||
build_squash_test.go | ||
build_test.go | ||
build_traces_test.go | ||
build_userns_linux_test.go | ||
main_test.go |