aboutsummaryrefslogtreecommitdiff
path: root/tests/errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors.c')
-rw-r--r--tests/errors.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/errors.c b/tests/errors.c
index 06747c24..0cade6a4 100644
--- a/tests/errors.c
+++ b/tests/errors.c
@@ -1,5 +1,5 @@
//
-// Copyright 2016 Garrett D'Amore <garrett@damore.org>
+// Copyright 2018 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
@@ -7,11 +7,13 @@
// found online at https://opensource.org/licenses/MIT.
//
-#include "convey.h"
-#include "nng.h"
#include <errno.h>
#include <string.h>
+#include <nng/nng.h>
+
+#include "convey.h"
+
TestMain("Error messages work", {
Convey("Known errors work", {
So(strcmp(nng_strerror(NNG_ECLOSED), "Object closed") == 0);