Skip to content

Commit 3a61e2f

Browse files
haya14busagmlewis
authored andcommitted
Use go module in test directory (#1159)
1 parent df12fde commit 3a61e2f

File tree

7 files changed

+5
-8
lines changed

7 files changed

+5
-8
lines changed

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ module github.com/google/go-github/v25
22

33
require (
44
github.com/golang/protobuf v1.2.0 // indirect
5-
github.com/google/go-github v17.0.0+incompatible
65
github.com/google/go-querystring v1.0.0
76
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
87
golang.org/x/net v0.0.0-20190311183353-d8887717615a // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
22
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
3-
github.com/google/go-github v17.0.0+incompatible h1:N0LgJ1j65A7kfXrZnUDaYCs/Sf4rEjNlfyDHW9dolSY=
4-
github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ=
53
github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=
64
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
75
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M=

test/integration/activity_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"context"
1212
"testing"
1313

14-
"github.com/google/go-github/github"
14+
"github.com/google/go-github/v25/github"
1515
)
1616

1717
const (

test/integration/authorizations_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"testing"
1717
"time"
1818

19-
"github.com/google/go-github/github"
19+
"github.com/google/go-github/v25/github"
2020
)
2121

2222
const msgEnvMissing = "Skipping test because the required environment variable (%v) is not present."

test/integration/github_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"net/http"
1515
"os"
1616

17-
"github.com/google/go-github/github"
17+
"github.com/google/go-github/v25/github"
1818
"golang.org/x/oauth2"
1919
)
2020

test/integration/repos_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"reflect"
1414
"testing"
1515

16-
"github.com/google/go-github/github"
16+
"github.com/google/go-github/v25/github"
1717
)
1818

1919
func TestRepositories_CRUD(t *testing.T) {

test/integration/users_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"math/rand"
1414
"testing"
1515

16-
"github.com/google/go-github/github"
16+
"github.com/google/go-github/v25/github"
1717
)
1818

1919
func TestUsers_Get(t *testing.T) {

0 commit comments

Comments
 (0)