mirror of
https://github.com/vlang/v.git
synced 2025-09-18 11:56:57 -04:00
tools: fix ./v -d network test cmd/tools/vpm
This commit is contained in:
parent
44a4975504
commit
bdeef49c02
@ -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…
x
Reference in New Issue
Block a user