MCPcopy Create free account
hub / github.com/gobeam/stringy / TestInput_FirstError

Function TestInput_FirstError

stringy_test.go:363–371  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

361}
362
363func TestInput_FirstError(t *testing.T) {
364 defer func() {
365 if err := recover(); err == nil {
366 t.Errorf("Error expected but got none")
367 }
368 }()
369 fcn := New("4111 1111 1111 1111")
370 fcn.First(100)
371}
372
373func TestInput_LastError(t *testing.T) {
374 defer func() {

Callers

nothing calls this directly

Calls 2

NewFunction · 0.85
FirstMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…