ensurepkg

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package ensurepkg contains the implementation for the ensure test framework. Use ensure.New to create a new instance of Ensure.

Deprecated: Use the ensuring package instead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain deprecated

type Chain = ensuring.Chain

Chain chains assertions to the ensure function call.

Deprecated: Use ensuring.Chain instead.

type Ensure deprecated

type Ensure = ensuring.E

Ensure ensures the actual value is correct using Chain. Ensure also has methods that can be called directly.

Deprecated: Use ensuring.E instead.

type T deprecated

type T = ensuring.T

T implements a subset of methods on testing.T. More methods may be added to T with a minor ensure release.

Deprecated: Use ensuring.T instead.

Jump to

Keyboard shortcuts

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