oauth2: drop pre-1.4 workaround
Change-Id: Icac33569b4937602b0aac46ec36cc85b5aa53877
Reviewed-on: https://go-review.googlesource.com/6071
Reviewed-by: Andrew Gerrand <adg@golang.org>
diff --git a/example_test.go b/example_test.go
index e4fef7d..8be2788 100644
--- a/example_test.go
+++ b/example_test.go
@@ -7,15 +7,10 @@
import (
"fmt"
"log"
- "testing"
"golang.org/x/oauth2"
)
-// TODO(jbd): Remove after Go 1.4.
-// Related to https://codereview.appspot.com/107320046
-func TestA(t *testing.T) {}
-
func ExampleConfig() {
conf := &oauth2.Config{
ClientID: "YOUR_CLIENT_ID",
diff --git a/google/example_test.go b/google/example_test.go
index ad121b8..bd27626 100644
--- a/google/example_test.go
+++ b/google/example_test.go
@@ -11,7 +11,6 @@
"io/ioutil"
"log"
"net/http"
- "testing"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
@@ -20,10 +19,6 @@
"google.golang.org/appengine/urlfetch"
)
-// Remove after Go 1.4.
-// Related to https://codereview.appspot.com/107320046
-func TestA(t *testing.T) {}
-
func Example_webServer() {
// Your credentials should be obtained from the Google
// Developer Console (https://console.developers.google.com).