moby--moby/integration/build
Kir Kolyshkin 9b77370213 int/build/TestBuildWithEmptyLayers: prevent panic
The test case panics like that:

> build_test.go:381: assertion failed: 3 (int) != 1 (int)
> panic: runtime error: index out of range [2] with length 1 [recovered]
> panic: runtime error: index out of range [2] with length 1

The fix is trivial.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2020-06-04 11:22:04 -07:00
..
testdata Using test names instead of hardcoded ones in integration/build directory 2020-05-18 16:36:23 +01:00
build_cgroupns_linux_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
build_session_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
build_squash_test.go Using test names instead of hardcoded ones in integration/build directory 2020-05-18 16:36:23 +01:00
build_test.go int/build/TestBuildWithEmptyLayers: prevent panic 2020-06-04 11:22:04 -07:00
main_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00