diff options
Diffstat (limited to 'tests/errors.c')
| -rw-r--r-- | tests/errors.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/errors.c b/tests/errors.c index f5e857e2..06747c24 100644 --- a/tests/errors.c +++ b/tests/errors.c @@ -8,12 +8,11 @@ // #include "convey.h" -#include "nng.c" +#include "nng.h" #include <errno.h> #include <string.h> TestMain("Error messages work", { - Convey("Known errors work", { So(strcmp(nng_strerror(NNG_ECLOSED), "Object closed") == 0); So(strcmp(nng_strerror(NNG_ETIMEDOUT), "Timed out") == 0); @@ -28,6 +27,5 @@ TestMain("Error messages work", { strerror(ENOENT)) == 0); So(strcmp(nng_strerror(NNG_ESYSERR + EINVAL), strerror(EINVAL)) == 0); - }); }) |
