assert

package
v0.3.0-rc.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualFileContent added in v0.3.0

func EqualFileContent(gotPath, expectedPath string) bool

Compare two files content using sha256sum function.

func FlatEqual

func FlatEqual(got, expected interface{}) bool

Simple equality check working for flat types (no nested types passed by reference).

func Must

func Must(t *testing.T, err error)

Check error and if present, fail and stop the test suite. Examples usage: client.Must(t, task.Create(&r))

func Should

func Should(t *testing.T, err error)

Check error and if present, fail the test case. Examples usage: client.Should(t, task.Create(&r))

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL