diff --git a/service/dap/server.go b/service/dap/server.go index 80ad6570d9..8e8e193659 100644 --- a/service/dap/server.go +++ b/service/dap/server.go @@ -504,7 +504,7 @@ func (s *Session) address() string { // until it encounters an error or EOF, when it sends // a disconnect signal and returns. func (s *Session) ServeDAPCodec() { - // Close conn, but not the debugger in case we are in AcceptMuli mode. + // Close conn, but not the debugger in case we are in AcceptMulti mode. // If not, debugger will be shut down in Stop(). defer s.conn.Close() reader := bufio.NewReader(s.conn) diff --git a/service/dap/server_test.go b/service/dap/server_test.go index 3faee83799..b2a0d53ea5 100644 --- a/service/dap/server_test.go +++ b/service/dap/server_test.go @@ -992,7 +992,7 @@ func checkChildren(t *testing.T, got *dap.VariablesResponse, parentName string, // checkVar is a helper for verifying the values within a VariablesResponse. // -// i - index of the variable within VariablesRespose.Body.Variables array (-1 will search all vars for a match) +// i - index of the variable within VariablesResponse.Body.Variables array (-1 will search all vars for a match) // name - name of the variable // evalName - fully qualified variable name or alternative expression to load this variable // value - the value of the variable