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

Commit cbd0f9a

Browse files
committed
test hack: no source override
1 parent add5aaf commit cbd0f9a

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

cmd/dep/base_importer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919

2020
const (
2121
importerTestProject = "github.com/carolynvs/deptest-importers"
22-
importerTestProjectSrc = "https://github.com/carolynvs/deptest-importers.git"
22+
//importerTestProjectSrc = "https://github.com/carolynvs/deptest-importers.git"
2323
importerTestUntaggedRev = "9b670d143bfb4a00f7461451d5c4a62f80e9d11d"
2424
importerTestUntaggedRevAbbrv = "v1.0.0-1-g9b670d1"
2525
importerTestBeta1Tag = "beta1"

cmd/dep/glide_importer_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func TestGlideConfig_Convert(t *testing.T) {
4444
Imports: []glidePackage{
4545
{
4646
Name: importerTestProject,
47-
Repository: importerTestProjectSrc,
47+
//Repository: importerTestProjectSrc,
4848
Reference: importerTestV2Branch,
4949
},
5050
},
@@ -53,13 +53,13 @@ func TestGlideConfig_Convert(t *testing.T) {
5353
Imports: []glideLockedPackage{
5454
{
5555
Name: importerTestProject,
56-
Repository: importerTestProjectSrc,
56+
//Repository: importerTestProjectSrc,
5757
Revision: importerTestV2PatchRev,
5858
},
5959
},
6060
},
6161
convertTestCase{
62-
wantSourceRepo: importerTestProjectSrc,
62+
//wantSourceRepo: importerTestProjectSrc,
6363
wantConstraint: importerTestV2Branch,
6464
wantRevision: importerTestV2PatchRev,
6565
wantVersion: importerTestV2PatchTag,
@@ -70,7 +70,7 @@ func TestGlideConfig_Convert(t *testing.T) {
7070
Imports: []glidePackage{
7171
{
7272
Name: importerTestProject,
73-
Repository: importerTestProjectSrc,
73+
//Repository: importerTestProjectSrc,
7474
Reference: importerTestV2Branch,
7575
},
7676
},
@@ -79,13 +79,13 @@ func TestGlideConfig_Convert(t *testing.T) {
7979
Imports: []glideLockedPackage{
8080
{
8181
Name: importerTestProject,
82-
Repository: importerTestProjectSrc,
82+
//Repository: importerTestProjectSrc,
8383
Revision: importerTestV2PatchRev,
8484
},
8585
},
8686
},
8787
convertTestCase{
88-
wantSourceRepo: importerTestProjectSrc,
88+
//wantSourceRepo: importerTestProjectSrc,
8989
wantConstraint: importerTestV2Branch,
9090
wantRevision: importerTestV2PatchRev,
9191
wantVersion: importerTestV2PatchTag,
@@ -96,14 +96,14 @@ func TestGlideConfig_Convert(t *testing.T) {
9696
Imports: []glidePackage{
9797
{
9898
Name: importerTestProject,
99-
Repository: importerTestProjectSrc,
99+
//Repository: importerTestProjectSrc,
100100
Reference: importerTestV2Branch,
101101
},
102102
},
103103
},
104104
glideLock{},
105105
convertTestCase{
106-
wantSourceRepo: importerTestProjectSrc,
106+
//wantSourceRepo: importerTestProjectSrc,
107107
wantConstraint: importerTestV2Branch,
108108
},
109109
},

cmd/dep/vndr_importer_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ func TestVndrConfig_Convert(t *testing.T) {
2626
[]vndrPackage{{
2727
importPath: importerTestProject,
2828
reference: importerTestV1Rev,
29-
repository: importerTestProjectSrc,
29+
//repository: importerTestProjectSrc,
3030
}},
3131
convertTestCase{
32-
wantSourceRepo: importerTestProjectSrc,
32+
//wantSourceRepo: importerTestProjectSrc,
3333
wantConstraint: importerTestV1Constraint,
3434
wantRevision: importerTestV1Rev,
3535
wantVersion: importerTestV1Tag,

0 commit comments

Comments
 (0)