Registry / testing / karlseguin-expect-v1

karlseguin-expect-v1

JSON →
library1.0.2gogounverified

Package expect provides a simple assertion library for Go testing with expressive matchers.

go get gopkg.in/karlseguin/expect.v1
INSTALL
IMPORT
SIG · KARLSEGUIN-EXPECT-
K
karlseguin-expect-v1
testinggov1.0.2
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.

expect
gopkg.in/karlseguin/expect.v1

Use expect in a test

package main import ( "testing" "gopkg.in/karlseguin/expect.v1" ) func TestExample(t *testing.T) { expect.Expect(t, 1+1).To.Equal(2) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
karlseguin-expect-v1 — go get karlseguin-expect-v1 · libregistry