testx

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AssertNew = assert.New

	AssertEmptyf    = assert.Emptyf
	AssertNotEmptyf = assert.NotEmptyf
	AssertNilf      = assert.Nilf
	AssertNotNilf   = assert.NotNilf

	AssertEqualf          = assert.Equalf
	AssertNotEqualf       = assert.NotEqualf
	AssertEqualValuesf    = assert.EqualValuesf
	AssertNotEqualValuesf = assert.NotEqualValuesf

	AssertErrorf      = assert.Errorf
	AssertNoErrorf    = assert.NoErrorf
	AssertErrorIsf    = assert.ErrorIsf
	AssertNotErrorIsf = assert.NotErrorIsf

	RequireNew = require.New

	RequireEmptyf    = require.Emptyf
	RequireNotEmptyf = require.NotEmptyf
	RequireNilf      = require.Nilf
	RequireNotNilf   = require.NotNilf

	RequireEqualf          = require.Equalf
	RequireNotEqualf       = require.NotEqualf
	RequireEqualValuesf    = require.EqualValuesf
	RequireNotEqualValuesf = require.NotEqualValuesf

	RequireErrorf      = require.Errorf
	RequireNoErrorf    = require.NoErrorf
	RequireErrorIsf    = require.ErrorIsf
	RequireNotErrorIsf = require.NotErrorIsf
)

Functions

func P

func P(t *testing.T, err error, vs ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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