kind: Index | Files

package assert

import ""


Package Files


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-12-06. Refresh now. Tools for package owners.