diff options
| author | Shulhan <ms@kilabit.info> | 2018-06-03 17:06:30 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2018-06-03 23:51:33 +0700 |
| commit | b30109159d464ba022608d6f566cfc61bc1c8b26 (patch) | |
| tree | 56855c8483f97ccbca7ed8eaa4c138eacd93652e /beku_test.go | |
| parent | ccbdc4ab14f8c1ffcf369e157502dcb38d4fc90b (diff) | |
| download | beku-b30109159d464ba022608d6f566cfc61bc1c8b26.tar.xz | |
NewPackage(): use golang tools/go/vcs to get remote URL
This will allow beku to handle custom import URL.
Diffstat (limited to 'beku_test.go')
| -rw-r--r-- | beku_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/beku_test.go b/beku_test.go index 62e8183..5fb7f81 100644 --- a/beku_test.go +++ b/beku_test.go @@ -112,9 +112,9 @@ func TestMain(m *testing.M) { os.Exit(1) } - testGitPkgCur = NewPackage(testGitRepo, testGitRepo, VCSModeGit) - testGitPkgNew = NewPackage(testGitRepo, testGitRepo, VCSModeGit) - testGitPkgShare = NewPackage(testGitRepoShare, testGitRepoShare, VCSModeGit) + testGitPkgCur, _ = NewPackage(testGitRepo, testGitRepo, VCSModeGit) + testGitPkgNew, _ = NewPackage(testGitRepo, testGitRepo, VCSModeGit) + testGitPkgShare, _ = NewPackage(testGitRepoShare, testGitRepoShare, VCSModeGit) // Always set the git test repo to latest version. testEnv.NoConfirm = true |
