Registry / testing / huandu-go-assert

huandu-go-assert

JSON →
library1.1.6gogounverified

A Go testing assertion library that provides contextual information automatically when a test fails.

go get github.com/huandu/go-assert
INSTALL
IMPORT
SIG · HUANDU-GO-ASSERT
H
huandu-go-assert
testinggov1.1.6
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.

assert
github.com/huandu/go-assert

Use assert.Equal in a test

package main import ( "testing" "github.com/huandu/go-assert" ) func TestSomething(t *testing.T) { assert.Equal(t, 1, 1) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
huandu-go-assert — go get huandu-go-assert · libregistry