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

Commit

Permalink
Add GlideImporter testdata for empty constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
carolynvs committed Jul 26, 2017
1 parent 6a28486 commit 81af9d6
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/dep/testdata/glide/golden.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Detected glide configuration files...
Converting from glide.yaml and glide.lock...
Using master as initial constraint for imported dep github.com/sdboyer/deptest
Using ^2.0.0 as initial constraint for imported dep github.com/sdboyer/deptestdos
Using master as initial constraint for imported dep github.com/golang/lint
Using * as initial constraint for imported dep github.com/golang/lint
Trying v0.8.1 (3f4c3be) as initial lock for imported dep github.com/sdboyer/deptest
Trying v2.0.0 (5c60720) as initial lock for imported dep github.com/sdboyer/deptestdos
Trying master (cb00e56) as initial lock for imported dep github.com/golang/lint
Trying * (cb00e56) as initial lock for imported dep github.com/golang/lint

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
ignored = ["github.com/sdboyer/dep-test","github.com/golang/notexist/samples"]

[[constraint]]
name = "github.com/carolynvs/deptest-subpkg"

[[constraint]]
name = "github.com/sdboyer/deptestdos"
version = "2.0.0"

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ import:
version: v1.0.0
- package: github.com/sdboyer/deptestdos
version: v2.0.0
- package: github.com/carolynvs/deptest-subpkg/subby
testImport:
- package: github.com/golang/lint
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ package main
import (
"fmt"

_ "github.com/carolynvs/deptest-subpkg/subby"
"github.com/sdboyer/deptestdos"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"vendor-final": [
"github.com/sdboyer/deptest",
"github.com/sdboyer/deptestdos"
"github.com/sdboyer/deptestdos",
"github.com/carolynvs/deptest-subpkg"
]
}

0 comments on commit 81af9d6

Please sign in to comment.