(this super.Value, e expr.Evaluator)
| 35 | } |
| 36 | |
| 37 | func filter(this super.Value, e expr.Evaluator) bool { |
| 38 | if e == nil { |
| 39 | return true |
| 40 | } |
| 41 | val := e.Eval(this) |
| 42 | if val.Type() == super.TypeBool && val.Bool() { |
| 43 | return true |
| 44 | } |
| 45 | return false |
| 46 | } |
| 47 | |
| 48 | func runCasesHelper(t *testing.T, record string, cases []testcase, expectBufferFilterFalsePositives bool) { |
| 49 | t.Helper() |
no test coverage detected