diff options
Diffstat (limited to 'tests/stdlib/tnetconnect.nim')
-rw-r--r-- | tests/stdlib/tnetconnect.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/stdlib/tnetconnect.nim b/tests/stdlib/tnetconnect.nim index 0fff8fdce..ae654aed9 100644 --- a/tests/stdlib/tnetconnect.nim +++ b/tests/stdlib/tnetconnect.nim @@ -5,6 +5,7 @@ discard """ import std/net from std/strutils import `%` +from stdtest/testutils import enableRemoteNetworking # bug #15215 proc test() = @@ -25,4 +26,5 @@ proc test() = except TimeoutError, OSError: fn("www.google.com") -test() +when enableRemoteNetworking: + test() |