aboutsummaryrefslogtreecommitdiff
path: root/src/core/url_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/url_test.c')
-rw-r--r--src/core/url_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/url_test.c b/src/core/url_test.c
index 182121d9..4de9d4c2 100644
--- a/src/core/url_test.c
+++ b/src/core/url_test.c
@@ -41,7 +41,7 @@ test_url_host_too_long(void)
for (size_t i = strlen(buffer); i < sizeof(buffer) - 1; i++) {
buffer[i] = 'a';
}
- NUTS_FAIL(nng_url_parse(&url, buffer), NNG_EADDRINVAL);
+ NUTS_FAIL(nng_url_parse(&url, buffer), NNG_EINVAL);
}
void