Registry / testing / facebookgo-ensure

facebookgo-ensure

JSON →
library0.0.0-20200202191622-63f1cf65ac4cgogounverified

Package ensure provides utilities for testing to ensure given conditions are met and Fatal if they aren't satisfied.

go get github.com/facebookgo/ensure
INSTALL
IMPORT
SIG · FACEBOOKGO-ENSURE
F
facebookgo-ensure
testinggov0.0.0-20200202191622-63f1cf65ac4c
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.

ensure
✓ github.com/facebookgo/ensure

Use ensure.True in a test.

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

No known issues recorded.

Upgrade
Version history
0.0.0-20200202191622-63f1cf65ac4clatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
5
Resources
facebookgo-ensure — go get facebookgo-ensure · libregistry