(t testing.TB, opts ...EnvOption)
| 5201 | } |
| 5202 | |
| 5203 | func testEnv(t testing.TB, opts ...EnvOption) *Env { |
| 5204 | t.Helper() |
| 5205 | e, err := NewEnv(opts...) |
| 5206 | if err != nil { |
| 5207 | t.Fatalf("NewEnv() failed: %v", err) |
| 5208 | } |
| 5209 | return e |
| 5210 | } |
| 5211 | |
| 5212 | func compile(t testing.TB, env *Env, expr string) Program { |
| 5213 | t.Helper() |
no test coverage detected