(t *testing.T, name string, opts ...FunctionOpt)
| 1385 | } |
| 1386 | |
| 1387 | func testFunction(t *testing.T, name string, opts ...FunctionOpt) *FunctionDecl { |
| 1388 | t.Helper() |
| 1389 | fn, err := NewFunction(name, opts...) |
| 1390 | if err != nil { |
| 1391 | t.Fatalf("NewFunction() failed: %v", err) |
| 1392 | } |
| 1393 | return fn |
| 1394 | } |
no test coverage detected