*: remove redundant lines at the start/end of block (#3730)

This commit is contained in:
Oleksandr Redko
2024-05-21 00:16:22 +03:00
committed by GitHub
parent 468727c34d
commit 8347f97c00
24 changed files with 6 additions and 34 deletions

View File

@ -114,7 +114,6 @@ func TestScope(t *testing.T) {
t.Errorf("breakpoint at line %d not hit", scopeChecks[i].line)
}
}
}
type scopeCheck struct {
@ -288,7 +287,6 @@ func (varCheck *varCheck) checkInScope(line int, scope *proc.EvalScope, t *testi
v, err := scope.EvalExpression(varCheck.name, normalLoadConfig)
assertNoError(err, t, fmt.Sprintf("EvalVariable(%s)", varCheck.name))
varCheck.check(line, v, t, "EvalExpression")
}
func (varCheck *varCheck) check(line int, v *proc.Variable, t *testing.T, ctxt string) {