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

Commit 97a0bcd

Browse files
committed
test(status): tests for missing pkgs lock mismatch
1 parent 9b354b8 commit 97a0bcd

File tree

7 files changed

+34
-1
lines changed

7 files changed

+34
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"commands": [
33
["status"]
44
],
5-
"error-expected": "inputs-digest mismatch",
5+
"error-expected": "This happens when Gopkg.toml is modified",
66
"vendor-final": []
77
}

cmd/dep/testdata/harness_tests/status/missing_pkgs_lock_mismatch/final/Gopkg.lock

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/dep/testdata/harness_tests/status/missing_pkgs_lock_mismatch/final/Gopkg.toml

Whitespace-only changes.

cmd/dep/testdata/harness_tests/status/missing_pkgs_lock_mismatch/initial/Gopkg.lock

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/dep/testdata/harness_tests/status/missing_pkgs_lock_mismatch/initial/Gopkg.toml

Whitespace-only changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package main
2+
3+
import (
4+
_ "github.com/sdboyer/deptestdos"
5+
)
6+
7+
func main() {
8+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"commands": [
3+
["status"]
4+
],
5+
"error-expected": "due to the following packages missing from the lock",
6+
"vendor-final": []
7+
}

0 commit comments

Comments
 (0)