(t *testing.T, name string, opts ...FunctionOpt)
| 1547 | } |
| 1548 | |
| 1549 | func testFunction(t *testing.T, name string, opts ...FunctionOpt) *FunctionDecl { |
| 1550 | t.Helper() |
| 1551 | fn, err := NewFunction(name, opts...) |
| 1552 | if err != nil { |
| 1553 | t.Fatalf("NewFunction() failed: %v", err) |
| 1554 | } |
| 1555 | return fn |
| 1556 | } |
no test coverage detected