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

Function TestInput_LastError

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

Source from the content-addressed store, hash-verified

371}
372
373func TestInput_LastError(t *testing.T) {
374 defer func() {
375 if err := recover(); err == nil {
376 t.Errorf("Error expected but got none")
377 }
378 }()
379 fcn := New("4111 1111 1111 1111")
380 fcn.Last(100)
381}
382
383func TestInput_Last(t *testing.T) {
384 lcn := New("4111 1111 1111 1348")

Callers

nothing calls this directly

Calls 2

NewFunction · 0.85
LastMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…