assert

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package assert provides assert functions for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal[T any](t *testing.T, want, got T, options ...cmp.Option) bool

func IsDir

func IsDir(t *testing.T, name string)

func IsNotExist

func IsNotExist(t *testing.T, name string)

func IsRegularFile

func IsRegularFile(t *testing.T, name string)

func ReadFile

func ReadFile(t *testing.T, name, wantContents string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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