package test

import "k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/test"

Index

Functions

func SkipRest

func SkipRest(t *testing.T, desc string, err error, contains string) bool

SkipRest returns true if there was a non-nil error or if we expected an error that didn't happen, and logs the appropriate error on the test object. The return value indicates whether we should skip the rest of the test case due to the error result.

Source Files

test.go

Version
v1.9.6
Published
Mar 20, 2018
Platform
js/wasm
Imports
2 packages
Last checked
26 seconds ago

Tools for package owners.