mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 04:35:19 +08:00
evalop: fix name of executeOp function in test (#3643)
This commit is contained in:
committed by
GitHub
parent
4b2612a6b3
commit
fb4a8fb171
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user