tools: fix ./v -d network test cmd/tools/vpm

This commit is contained in:
Delyan Angelov 2025-05-01 09:31:03 +03:00
parent 44a4975504
commit bdeef49c02
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -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'