Skip to content

Commit

Permalink
jwt: rename example to avoid vet error
Browse files Browse the repository at this point in the history
After CL 603476 we were getting

jwt/example_test.go:13:1: ExampleJWTConfig refers to unknown identifier: JWTConfig

Change-Id: I51bcd06a50a852150eb6e42743431207ee00300f
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/606878
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
  • Loading branch information
ianlancetaylor authored and gopherbot committed Aug 20, 2024
1 parent b52af7d commit 16a9973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwt/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"golang.org/x/oauth2/jwt"
)

func ExampleJWTConfig() {
func ExampleConfig() {
ctx := context.Background()
conf := &jwt.Config{
Email: "xxx@developer.com",
Expand Down

0 comments on commit 16a9973

Please sign in to comment.