Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 52307d4

Browse files
authored
Merge pull request #1544 from carolynvs/fix-update-all-golden-files
Make it easier to update all golden files at once
2 parents 015a757 + c755628 commit 52307d4

File tree

6 files changed

+13
-7
lines changed

6 files changed

+13
-7
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
PROJECT CONSTRAINT VERSION REVISION LATEST PKGS USED
2-
github.com/sdboyer/deptest ^0.8.0 v0.8.0 ff2948a v0.8.1 1
3-
github.com/sdboyer/deptestdos v2.0.0 v2.0.0 5c60720 v2.0.0 1
2+
github.com/sdboyer/deptest ^0.8.0 v0.8.0 ff2948a v0.8.1 1
3+
github.com/sdboyer/deptestdos v2.0.0 v2.0.0 5c60720 v2.0.0 1
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
PROJECT CONSTRAINT VERSION REVISION LATEST PKGS USED
2-
github.com/sdboyer/deptest v0.8.1 (override) v0.8.1 3f4c3be v0.8.1 1
3-
github.com/sdboyer/deptestdos v2.0.0 v2.0.0 5c60720 v2.0.0 1
2+
github.com/sdboyer/deptest v0.8.1 (override) v0.8.1 3f4c3be v0.8.1 1
3+
github.com/sdboyer/deptestdos v2.0.0 v2.0.0 5c60720 v2.0.0 1
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
PROJECT CONSTRAINT VERSION REVISION LATEST PKGS USED
2-
github.com/sdboyer/deptest v1.0.0 v1.0.0 ff2948a v1.0.0 1
3-
github.com/sdboyer/deptestdos a0196ba a0196ba 1
2+
github.com/sdboyer/deptest v1.0.0 v1.0.0 ff2948a v1.0.0 1
3+
github.com/sdboyer/deptestdos a0196ba a0196ba 1

gps/paths/paths_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44

55
package paths
66

7-
import "testing"
7+
import (
8+
"testing"
9+
10+
_ "github.com/golang/dep/internal/test" // DO NOT REMOVE, allows go test ./... -update to work
11+
)
812

913
func TestIsStandardImportPath(t *testing.T) {
1014
fix := []struct {

gps/pkgtree/pkgtree_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020

2121
"github.com/golang/dep/gps/paths"
2222
"github.com/golang/dep/internal/fs"
23+
_ "github.com/golang/dep/internal/test" // DO NOT REMOVE, allows go test ./... -update to work
2324
)
2425

2526
// PackageTree.ToReachMap() uses an easily separable algorithm, wmToReach(),

internal/feedback/feedback_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"testing"
1212

1313
"github.com/golang/dep/gps"
14+
_ "github.com/golang/dep/internal/test" // DO NOT REMOVE, allows go test ./... -update to work
1415
)
1516

1617
func TestFeedback_Constraint(t *testing.T) {

0 commit comments

Comments
 (0)