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:
parent
ce4ee2b247
commit
34d03801de
@ -9,6 +9,9 @@ mut:
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn test_ws() {
|
fn test_ws() {
|
||||||
|
$if !network ? {
|
||||||
|
return
|
||||||
|
}
|
||||||
ws_test('ws://echo.websocket.org')
|
ws_test('ws://echo.websocket.org')
|
||||||
ws_test('wss://echo.websocket.org')
|
ws_test('wss://echo.websocket.org')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user