1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

enable $if !network { checks in net tests

This commit is contained in:
Delyan Angelov
2020-01-16 20:44:16 +02:00
committed by Alexander Medvednikov
parent e1132156f5
commit cc606623bb
3 changed files with 8 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ import net.ftp
// that is why it is not a very good idea to run it in CI.
// If you want to run it manually, use `v -d network vlib/net/ftp/ftp_test.v`
fn test_ftp_client() {
// $if !network ? { return }
$if !network ? { return }
mut ftp := ftp.new()
defer {
ftp.close()