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

tests: run ws_test.v only with -d network

This commit is contained in:
Delyan Angelov 2020-08-07 10:14:40 +03:00
parent ce4ee2b247
commit 34d03801de

View File

@ -9,6 +9,9 @@ mut:
}
fn test_ws() {
$if !network ? {
return
}
ws_test('ws://echo.websocket.org')
ws_test('wss://echo.websocket.org')
}