tests: run ws_test.v only with -d network

pull/6168/head
Delyan Angelov 2020-08-07 10:14:40 +03:00
parent ce4ee2b247
commit 34d03801de
1 changed files with 3 additions and 0 deletions

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')
}