This is achieved by switching `assert.NoError` to `require.NoError` in several places. Otherwise the test code will continue and dereference a nil spec, leading to a panic which obscures the real failure. Signed-off-by: Ian Campbell <ijc@docker.com>
This is achieved by switching `assert.NoError` to `require.NoError` in several places. Otherwise the test code will continue and dereference a nil spec, leading to a panic which obscures the real failure. Signed-off-by: Ian Campbell <ijc@docker.com>