kind: sigs.k8s.io/kind/pkg/internal/util/assert Index | Files

package assert

import "sigs.k8s.io/kind/pkg/internal/util/assert"

Index

Package Files

assert.go

func DeepEqual Uses

func DeepEqual(t testingDotT, expected, result interface{})

DeepEqual will call t.Errorf if !reflect.DeepEqual(expected, result) t should be a *testing.T normally

func ExpectError Uses

func ExpectError(t testingDotT, expectError bool, err error)

ExpectError will call t.Errorf if expectError != (err == nil) t should be a *testing.T normally

func StringEqual Uses

func StringEqual(t testingDotT, expected, result string)

StringEqual will call t.Errorf if expected != result t should be a *testing.T normally

Package assert imports 1 packages (graph). Updated 2019-11-22. Refresh now. Tools for package owners.