Skip to content

Commit acc3815

Browse files
dmitshurgopherbot
authored andcommitted
endpoints: fix %q verb use with wrong type
Caught early by the improved vet check gated behind the 1.26 language version combined with a tiplang builder that tests with 1.26 language version. Change-Id: Ie41542014acbbf24464111bd8dabb040ab0a0dea Cq-Include-Trybots: luci.golang.try:x_oauth2-gotip-linux-amd64-tiplang Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/725240 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Mark Freeman <markfreeman@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Sean Liao <sean@liao.dev>
1 parent f28b0b5 commit acc3815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

endpoints/endpoints_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func TestAWSCognitoEndpoint(t *testing.T) {
3636
t.Run(tt.in, func(t *testing.T) {
3737
endpoint := AWSCognito(tt.in)
3838
if endpoint != tt.out {
39-
t.Errorf("got %q, want %q", endpoint, tt.out)
39+
t.Errorf("got %#v, want %#v", endpoint, tt.out)
4040
}
4141
})
4242
}

0 commit comments

Comments
 (0)