MCPcopy
hub / github.com/tinylib/msgp / TestWrapResumableError

Function TestWrapResumableError

msgp/errors_test.go:46–52  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

44}
45
46func TestWrapResumableError(t *testing.T) {
47 err := ArrayError{}
48 w := WrapError(err)
49 if !w.(Error).Resumable() {
50 t.Fatal()
51 }
52}
53
54func TestWrapMultiple(t *testing.T) {
55 err := &TypeError{}

Callers

nothing calls this directly

Calls 2

WrapErrorFunction · 0.85
ResumableMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…