Skip to content

Commit

Permalink
Use go module in test directory (#1159)
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa authored and gmlewis committed Apr 19, 2019
1 parent df12fde commit 3a61e2f
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module github.com/google/go-github/v25

require (
github.com/golang/protobuf v1.2.0 // indirect
github.com/google/go-github v17.0.0+incompatible
github.com/google/go-querystring v1.0.0
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
golang.org/x/net v0.0.0-20190311183353-d8887717615a // indirect
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/google/go-github v17.0.0+incompatible h1:N0LgJ1j65A7kfXrZnUDaYCs/Sf4rEjNlfyDHW9dolSY=
github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ=
github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M=
Expand Down
2 changes: 1 addition & 1 deletion test/integration/activity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"context"
"testing"

"github.com/google/go-github/github"
"github.com/google/go-github/v25/github"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion test/integration/authorizations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"testing"
"time"

"github.com/google/go-github/github"
"github.com/google/go-github/v25/github"
)

const msgEnvMissing = "Skipping test because the required environment variable (%v) is not present."
Expand Down
2 changes: 1 addition & 1 deletion test/integration/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"net/http"
"os"

"github.com/google/go-github/github"
"github.com/google/go-github/v25/github"
"golang.org/x/oauth2"
)

Expand Down
2 changes: 1 addition & 1 deletion test/integration/repos_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"reflect"
"testing"

"github.com/google/go-github/github"
"github.com/google/go-github/v25/github"
)

func TestRepositories_CRUD(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion test/integration/users_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"math/rand"
"testing"

"github.com/google/go-github/github"
"github.com/google/go-github/v25/github"
)

func TestUsers_Get(t *testing.T) {
Expand Down

0 comments on commit 3a61e2f

Please sign in to comment.