Registry / testing / go-playground-assert

go-playground-assert

JSON →
library1.2.1gogounverified

A Go testing library providing basic assertion functions for test validation.

go get github.com/go-playground/assert
INSTALL
IMPORT
SIG · GO-PLAYGROUND-ASSE
G
go-playground-assert
testinggov1.2.1
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/go-playground/assert

Uses assert.Equal in a test to check equality.

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

No known issues recorded.

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

No dependency data recorded yet.

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