Registry / testing / gregoryv-asserter

gregoryv-asserter

JSON →
library0.5.0gogounverified

Provides helpers for making assertions in Go tests, wrapping the testing.T type.

go get github.com/gregoryv/asserter
INSTALL
IMPORT
SIG · GREGORYV-ASSERTER
G
gregoryv-asserter
testinggov0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

asserter
github.com/gregoryv/asserter

Asserts that two values are equal in a test.

package main import ( "testing" "github.com/gregoryv/asserter" ) func TestExample(t *testing.T) { asserter.Equal(t, 1, 1) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
gregoryv-asserter — go get gregoryv-asserter · libregistry