mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
*: remove redundant lines at the start/end of block (#3730)
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user