assertx

package
v0.0.0-...-c376902 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package assertx contains extensions to the assert package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Panic

func Panic(t TestingT, fn func(), want any, msgAndArgs ...any)

Panic checks that a function panics with the given value. An untyped nil panic value represents no panic.

Types

type TestingT

type TestingT interface {
	assert.TestingT
	Helper()
}

TestingT is the assert package's TestingT, but includes Helper.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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