summaryrefslogtreecommitdiff
path: root/oauth2_test.go
diff options
context:
space:
mode:
authorBurcu Dogan <jbd@google.com>2014-08-11 00:27:43 -0700
committerBurcu Dogan <jbd@google.com>2014-08-11 00:27:43 -0700
commit4c579cbd0d6d2b7377fc15d97e26c189cd7e694f (patch)
treed25c2e2080f9f99533537fbad136c40f604cd214 /oauth2_test.go
parent6d8f8ea9d22ed767c0b6179b23a654e390cfe7e9 (diff)
downloadgolang-x-oauth2-4c579cbd0d6d2b7377fc15d97e26c189cd7e694f.tar.gz
Export exchange.
Allows users to exchange and retrieve a token without initialising a Transport.
Diffstat (limited to 'oauth2_test.go')
-rw-r--r--oauth2_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/oauth2_test.go b/oauth2_test.go
index b502b11..1b6a022 100644
--- a/oauth2_test.go
+++ b/oauth2_test.go
@@ -62,7 +62,7 @@ func TestExchangePayload(t *testing.T) {
return nil, errors.New("no response")
},
}
- conf.exchange("exchange-code")
+ conf.Exchange("exchange-code")
}
func TestExchangingTransport(t *testing.T) {