Registry / testing / go-playground-assert-v1

go-playground-assert-v1

JSON →
library1.2.1gogounverified

Package assert provides basic assertion functions for testing in Go.

go get gopkg.in/go-playground/assert.v1
INSTALL
IMPORT
SIG · GO-PLAYGROUND-ASSE
G
go-playground-assert-v1
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
gopkg.in/go-playground/assert.v1

Asserts equality in a test function.

package main import ( "testing" "gopkg.in/go-playground/assert.v1" ) func TestExample(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
6 hits · last 30 days
node
6
Resources
go-playground-assert-v1 — go get go-playground-assert-v1 · libregistry