package check

import "github.com/pressly/goose/v3/internal/check"

Index

Functions

func Bool

func Bool(t *testing.T, got, want bool)

func Contains

func Contains(t *testing.T, got, want string)

func Equal

func Equal(t *testing.T, got, want interface{})

func HasError

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

func IsError

func IsError(t *testing.T, err, target error)

func NoError

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

func Number

func Number(t *testing.T, got, want interface{})

func NumberNotZero

func NumberNotZero(t *testing.T, got interface{})

Source Files

check.go

Version
v3.22.0
Published
Sep 3, 2024
Platform
linux/amd64
Imports
5 packages
Last checked
3 hours ago

Tools for package owners.