Registry / testing / tidwall-assert

tidwall-assert

JSON →
library0.1.0gogounverified

Provides simple assertion functions for testing Go code.

go get github.com/tidwall/assert
INSTALL
IMPORT
SIG · TIDWALL-ASSERT
T
tidwall-assert
testinggov0.1.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.

assert
github.com/tidwall/assert

Uses assert.Assert to verify a condition in a test.

package main import ( "testing" "github.com/tidwall/assert" ) func TestExample(t *testing.T) { assert.Assert(t, 1+1 == 2) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
tidwall-assert — go get tidwall-assert · libregistry