MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / TestNewWithArgs

Function TestNewWithArgs

internal/goman/lib_test.go:24–29  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

22}
23
24func TestNewWithArgs(t *testing.T) {
25 goman.NewWithArgs(func(args ...interface{}) {
26 t.Log(args[0], args[1])
27 }, 1, 2)
28 time.Sleep(1 * time.Second)
29}

Callers

nothing calls this directly

Calls 2

NewWithArgsFunction · 0.92
LogMethod · 0.80

Tested by

no test coverage detected