From c7eb7de23212dc4336b1568fc1488a877b34d453 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 5 Nov 2024 22:36:19 -0800 Subject: Add zero test for error --- src/core/errors_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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. +// Copyright 2024 Staysail Systems, Inc. // // 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"); } -- cgit v1.2.3-70-g09d2