Registry / testing / alecthomas-assert

alecthomas-assert

JSON →
library1.0.0gogounverified

Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.

go get github.com/alecthomas/assert
INSTALL
IMPORT
SIG · ALECTHOMAS-ASSERT
A
alecthomas-assert
testinggov1.0.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/alecthomas/assert

Basic usage of assert in a test function

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

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
44 hits · last 30 days
node
38
OpenAI (training)
1
Resources
alecthomas-assert — go get alecthomas-assert · libregistry