Skip to content

Commit

Permalink
Merge pull request #2211 from EinoPlasma/master
Browse files Browse the repository at this point in the history
Fixes for Method Comment and Typo in Test Function Name
  • Loading branch information
jackc authored Dec 31, 2024
2 parents 00b86ca + 6d9e6a7 commit 4ff0a45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pgconn/ctxwatch/context_watcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TestContextWatcherContextCancelled(t *testing.T) {
require.True(t, cleanupCalled, "Cleanup func was not called")
}

func TestContextWatcherUnwatchdBeforeContextCancelled(t *testing.T) {
func TestContextWatcherUnwatchedBeforeContextCancelled(t *testing.T) {
cw := ctxwatch.NewContextWatcher(&testHandler{
handleCancel: func(context.Context) {
t.Error("cancel func should not have been called")
Expand Down
2 changes: 1 addition & 1 deletion pgproto3/password_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type PasswordMessage struct {
// Frontend identifies this message as sendable by a PostgreSQL frontend.
func (*PasswordMessage) Frontend() {}

// Frontend identifies this message as an authentication response.
// InitialResponse identifies this message as an authentication response.
func (*PasswordMessage) InitialResponse() {}

// Decode decodes src into dst. src must contain the complete message with the exception of the initial 1 byte message
Expand Down

0 comments on commit 4ff0a45

Please sign in to comment.