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

Commit 3780ff1

Browse files
authored
Merge pull request #601 from sdboyer/unbreak-tip
Re-export all golden & testcase files
2 parents 9fa29c2 + 0251881 commit 3780ff1

File tree

20 files changed

+33
-14
lines changed

20 files changed

+33
-14
lines changed

cmd/dep/testdata/harness_tests/ensure/empty/case1/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
["init"],
44
["ensure", "-update"]
55
],
6+
"error-expected": "",
67
"vendor-final": [
78
"github.com/sdboyer/deptest"
89
]

cmd/dep/testdata/harness_tests/ensure/empty/case2/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"commands": [
33
["ensure"]
44
],
5+
"error-expected": "",
56
"vendor-final": [
67
"github.com/sdboyer/deptest"
78
]

cmd/dep/testdata/harness_tests/ensure/empty/case3/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"commands": [
33
["ensure"]
44
],
5+
"error-expected": "",
56
"vendor-final": [
67
"github.com/sdboyer/deptest"
78
]

cmd/dep/testdata/harness_tests/ensure/override/case1/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
["init"],
44
["ensure", "-override", "github.com/sdboyer/[email protected]"]
55
],
6+
"error-expected": "",
67
"vendor-final": [
78
"github.com/sdboyer/deptest"
89
]
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"commands": [
3-
["init", "-no-examples"],
4-
["ensure", "-update"]
5-
],
6-
"error-expected" : "all dirs lacked any go code"
7-
}
2+
"commands": [
3+
["init", "-no-examples"],
4+
["ensure", "-update"]
5+
],
6+
"error-expected": "all dirs lacked any go code",
7+
"vendor-final": []
8+
}

cmd/dep/testdata/harness_tests/ensure/update/case1/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"commands": [
33
["ensure", "-update", "github.com/sdboyer/deptest"]
44
],
5+
"error-expected": "",
56
"vendor-final": [
67
"github.com/sdboyer/deptest",
78
"github.com/sdboyer/deptestdos"

cmd/dep/testdata/harness_tests/ensure/update/case2/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"commands": [
33
["ensure", "-n", "-update", "github.com/sdboyer/deptest"]
44
],
5+
"error-expected": "",
56
"vendor-final": []
67
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
[[dependencies]]
33
name = "github.com/sdboyer/deptest"
4-
version = "^0.8.0"
4+
version = "^0.8.0"

cmd/dep/testdata/harness_tests/init/case1/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"commands": [
33
["init", "-no-examples"]
44
],
5+
"error-expected": "",
56
"gopath-initial": {
67
"github.com/sdboyer/deptest": "v0.8.0",
78
"github.com/sdboyer/deptestdos": "a0196baa11ea047dd65037287451d36b861b00ea"

cmd/dep/testdata/harness_tests/init/case2/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"commands": [
33
["init", "-no-examples"]
44
],
5+
"error-expected": "",
56
"gopath-initial": {
67
"github.com/sdboyer/deptest": "v0.8.0"
78
},

cmd/dep/testdata/harness_tests/init/case3/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"commands": [
33
["init", "-no-examples"]
44
],
5+
"error-expected": "",
56
"gopath-initial": {
67
"github.com/sdboyer/deptestdos": "a0196baa11ea047dd65037287451d36b861b00ea"
78
},
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"commands": [
3-
["init"]
4-
],
5-
"error-expected" : "manifest already exists:"
6-
}
2+
"commands": [
3+
["init"]
4+
],
5+
"error-expected": "manifest already exists:",
6+
"vendor-final": []
7+
}

cmd/dep/testdata/harness_tests/init/skip-hidden/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"commands": [
33
["init", "-no-examples"]
44
],
5+
"error-expected": "",
56
"vendor-final": [
67
"github.com/sdboyer/deptest"
78
]

cmd/dep/testdata/harness_tests/remove/force/case1/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"commands": [
33
["remove", "-force", "github.com/sdboyer/deptestdos", "github.com/not/used"]
44
],
5+
"error-expected": "",
56
"vendor-final": [
67
"github.com/sdboyer/deptest",
78
"github.com/sdboyer/deptestdos"

cmd/dep/testdata/harness_tests/remove/specific/case1/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"commands": [
33
["remove", "github.com/not/used"]
44
],
5+
"error-expected": "",
56
"vendor-final": [
67
"github.com/sdboyer/deptest",
78
"github.com/sdboyer/deptestdos"

cmd/dep/testdata/harness_tests/remove/specific/case2/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"commands": [
33
["remove", "github.com/not/used"]
44
],
5+
"error-expected": "",
56
"vendor-initial": {
67
"github.com/sdboyer/deptest": "v0.8.0",
78
"github.com/sdboyer/deptestdos": "a0196baa11ea047dd65037287451d36b861b00ea"

cmd/dep/testdata/harness_tests/remove/unused/case1/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"commands": [
33
["remove", "-unused"]
44
],
5+
"error-expected": "",
56
"vendor-final": [
67
"github.com/sdboyer/deptest",
78
"github.com/sdboyer/deptestdos"

cmd/dep/testdata/harness_tests/status/case1/dot/testcase.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"commands": [
33
["ensure"],
4-
["status","-dot"]
4+
["status", "-dot"]
55
],
6+
"error-expected": "",
67
"vendor-final": [
78
"github.com/sdboyer/deptest",
89
"github.com/sdboyer/deptestdos"

cmd/dep/testdata/harness_tests/status/case1/json/testcase.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"commands": [
33
["ensure"],
4-
["status","-json"]
4+
["status", "-json"]
55
],
6+
"error-expected": "",
67
"vendor-final": [
78
"github.com/sdboyer/deptest",
89
"github.com/sdboyer/deptestdos"

cmd/dep/testdata/harness_tests/status/case1/table/testcase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
["ensure"],
44
["status"]
55
],
6+
"error-expected": "",
67
"vendor-final": [
78
"github.com/sdboyer/deptest",
89
"github.com/sdboyer/deptestdos"

0 commit comments

Comments
 (0)