mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
tools: fix ./v -d network test cmd/tools/vpm
This commit is contained in:
parent
44a4975504
commit
bdeef49c02
1 changed files with 3 additions and 1 deletions
|
@ -88,7 +88,9 @@ fn test_install_from_git_url_with_version_tag() {
|
||||||
res = cmd_fail(@LOCATION, '${vexe} install -f ${url}@${tag}')
|
res = cmd_fail(@LOCATION, '${vexe} install -f ${url}@${tag}')
|
||||||
// Install invalid version verbose.
|
// Install invalid version verbose.
|
||||||
res = cmd_fail(@LOCATION, '${vexe} install -f -v ${url}@${tag}')
|
res = cmd_fail(@LOCATION, '${vexe} install -f -v ${url}@${tag}')
|
||||||
assert res.output.contains('Could not find remote branch ${tag} to clone.'), res.output
|
not_found := res.output.contains('Could not find remote branch ${tag} to clone.')
|
||||||
|
|| res.output.contains('Remote branch ${tag} not found')
|
||||||
|
assert not_found, res.output
|
||||||
// Install from GitLab.
|
// Install from GitLab.
|
||||||
url = 'https://gitlab.com/tobealive/webview'
|
url = 'https://gitlab.com/tobealive/webview'
|
||||||
tag = 'v0.6.0'
|
tag = 'v0.6.0'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue