diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-05 22:36:19 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-05 22:36:19 -0800 |
| commit | c7eb7de23212dc4336b1568fc1488a877b34d453 (patch) | |
| tree | f9b9766e14355df0de0020a6ee0b197d3694f48f | |
| parent | e80c97c633679ea0757de7c9565263f42d9110cc (diff) | |
| download | nng-c7eb7de23212dc4336b1568fc1488a877b34d453.tar.gz nng-c7eb7de23212dc4336b1568fc1488a877b34d453.tar.bz2 nng-c7eb7de23212dc4336b1568fc1488a877b34d453.zip | |
Add zero test for error
| -rw-r--r-- | src/core/errors_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/errors_test.c b/src/core/errors_test.c index 52d820fe..72a107f4 100644 --- a/src/core/errors_test.c +++ b/src/core/errors_test.c @@ -1,5 +1,5 @@ // -// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this @@ -15,6 +15,7 @@ static void test_known_errors(void) { + NUTS_MATCH(nng_strerror(0), "Hunky dory"); NUTS_MATCH(nng_strerror(NNG_ECLOSED), "Object closed"); NUTS_MATCH(nng_strerror(NNG_ETIMEDOUT), "Timed out"); } |
