summaryrefslogtreecommitdiff
path: root/regress/unittests/utf8/tests.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2017-01-31 12:33:47 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2017-01-31 12:33:47 +0000
commit19ca85510bbe080af3faf5e9ae394608428ac953 (patch)
tree117f9a26f0d949b937129ea841578bd2ba4390fa /regress/unittests/utf8/tests.c
parentab4ec008e7abd1c8098428dbf9642c3685383045 (diff)
Diffstat (limited to 'regress/unittests/utf8/tests.c')
-rw-r--r--regress/unittests/utf8/tests.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/unittests/utf8/tests.c b/regress/unittests/utf8/tests.c
index fad2ec2794413..31f9fe9c3b0ca 100644
--- a/regress/unittests/utf8/tests.c
+++ b/regress/unittests/utf8/tests.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tests.c,v 1.2 2016/05/30 12:05:56 schwarze Exp $ */
+/* $OpenBSD: tests.c,v 1.3 2016/12/19 04:55:18 djm Exp $ */
/*
* Regress test for the utf8.h *mprintf() API
*
@@ -6,10 +6,12 @@
* and placed in the public domain.
*/
+#include "includes.h"
+
#include <locale.h>
#include <string.h>
-#include "test_helper.h"
+#include "../test_helper/test_helper.h"
#include "utf8.h"
@@ -63,7 +65,6 @@ tests(void)
TEST_DONE();
badarg();
- one("null", NULL, 8, 6, 6, "(null)");
one("empty", "", 2, 0, 0, "");
one("ascii", "x", -2, -2, -2, "x");
one("newline", "a\nb", -2, -2, -2, "a\nb");