evalop: fix name of executeOp function in test (#3643)

This commit is contained in:
Alessandro Arzilli
2024-01-24 18:18:18 +01:00
committed by GitHub
parent 4b2612a6b3
commit fb4a8fb171

View File

@ -15,7 +15,7 @@ func assertNoError(err error, t testing.TB, s string) {
} }
func TestEvalSwitchExhaustiveness(t *testing.T) { func TestEvalSwitchExhaustiveness(t *testing.T) {
// Checks that the switch statement in (*EvalScope).evalOne of // Checks that the switch statement in (*EvalScope).executeOp of
// pkg/proc/eval.go exhaustively covers all implementations of the // pkg/proc/eval.go exhaustively covers all implementations of the
// evalop.Op interface. // evalop.Op interface.
@ -69,7 +69,7 @@ func TestEvalSwitchExhaustiveness(t *testing.T) {
for op := range ops { for op := range ops {
if !ops[op] { if !ops[op] {
t.Errorf("evalop.Op %s not used in evalOne", op) t.Errorf("evalop.Op %s not used in executeOp", op)
} }
} }
} }