Skip to content

Commit 4ff0a45

Browse files
authored
Merge pull request #2211 from EinoPlasma/master
Fixes for Method Comment and Typo in Test Function Name
2 parents 00b86ca + 6d9e6a7 commit 4ff0a45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pgconn/ctxwatch/context_watcher_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func TestContextWatcherContextCancelled(t *testing.T) {
4949
require.True(t, cleanupCalled, "Cleanup func was not called")
5050
}
5151

52-
func TestContextWatcherUnwatchdBeforeContextCancelled(t *testing.T) {
52+
func TestContextWatcherUnwatchedBeforeContextCancelled(t *testing.T) {
5353
cw := ctxwatch.NewContextWatcher(&testHandler{
5454
handleCancel: func(context.Context) {
5555
t.Error("cancel func should not have been called")

pgproto3/password_message.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type PasswordMessage struct {
1212
// Frontend identifies this message as sendable by a PostgreSQL frontend.
1313
func (*PasswordMessage) Frontend() {}
1414

15-
// Frontend identifies this message as an authentication response.
15+
// InitialResponse identifies this message as an authentication response.
1616
func (*PasswordMessage) InitialResponse() {}
1717

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

0 commit comments

Comments
 (0)