(t *testing.T)
| 2602 | } |
| 2603 | |
| 2604 | func TestNewCall(t *testing.T) { |
| 2605 | call := NewCall(10, "f", "f_overload", []InterpretableV2{NewConstValue(1, types.IntOne)}, func(args ...ref.Val) ref.Val { return types.True }) |
| 2606 | if call.ID() != 10 { |
| 2607 | t.Errorf("NewCall.ID() = %d, wanted 10", call.ID()) |
| 2608 | } |
| 2609 | } |
| 2610 | |
| 2611 | func TestExhaustiveOperatorsLegacyEval(t *testing.T) { |
| 2612 | reg, _ := types.NewRegistry() |
nothing calls this directly
no test coverage detected