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

package assert

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

Index

Package Files

assert.go

func BoolEqual Uses

func BoolEqual(t testingDotT, expected, result bool)

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

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 2020-07-07. Refresh now. Tools for package owners.