aboutsummaryrefslogtreecommitdiff
path: root/src/core/sock_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/sock_test.c')
-rw-r--r--src/core/sock_test.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/sock_test.c b/src/core/sock_test.c
index 28f75a95..0e8c6d29 100644
--- a/src/core/sock_test.c
+++ b/src/core/sock_test.c
@@ -341,10 +341,6 @@ test_listener_options(void)
// Cannot set inappropriate options
NUTS_FAIL(nng_listener_set_ms(l, NNG_OPT_RECONNMINT, 1), NNG_ENOTSUP);
- // Read only options
- NUTS_FAIL(nng_listener_set_string(l, NNG_OPT_URL, "inproc://junk"),
- NNG_EREADONLY);
-
NUTS_CLOSE(s1);
}
@@ -370,10 +366,6 @@ test_dialer_options(void)
// Cannot set inappropriate options
NUTS_FAIL(nng_dialer_set_ms(d, NNG_OPT_SENDTIMEO, 1), NNG_ENOTSUP);
- // Read only options
- NUTS_FAIL(nng_dialer_set_string(d, NNG_OPT_URL, "inproc://junk"),
- NNG_EREADONLY);
-
NUTS_CLOSE(s1);
}