(t *testing.T, name string, opts ...FunctionOpt)
| 1538 | } |
| 1539 | |
| 1540 | func testFunction(t *testing.T, name string, opts ...FunctionOpt) *FunctionDecl { |
| 1541 | t.Helper() |
| 1542 | fn, err := NewFunction(name, opts...) |
| 1543 | if err != nil { |
| 1544 | t.Fatalf("NewFunction() failed: %v", err) |
| 1545 | } |
| 1546 | return fn |
| 1547 | } |
no test coverage detected