From fb4a8fb17157480ea302b602cd07168edb64d984 Mon Sep 17 00:00:00 2001 From: Alessandro Arzilli Date: Wed, 24 Jan 2024 18:18:18 +0100 Subject: [PATCH] evalop: fix name of executeOp function in test (#3643) --- pkg/proc/evalop/evalop_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/proc/evalop/evalop_test.go b/pkg/proc/evalop/evalop_test.go index a05b5bb8..2d9203c3 100644 --- a/pkg/proc/evalop/evalop_test.go +++ b/pkg/proc/evalop/evalop_test.go @@ -15,7 +15,7 @@ func assertNoError(err error, t testing.TB, s string) { } 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 // evalop.Op interface. @@ -69,7 +69,7 @@ func TestEvalSwitchExhaustiveness(t *testing.T) { for op := range ops { if !ops[op] { - t.Errorf("evalop.Op %s not used in evalOne", op) + t.Errorf("evalop.Op %s not used in executeOp", op) } } }