aboutsummaryrefslogtreecommitdiff
path: root/test/test_framework.h
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2021-05-16 19:13:05 +0200
committerTom Smeding <tom@tomsmeding.com>2021-05-16 19:13:05 +0200
commit831af1d49c9bb7d17794d259c99f92b2513496c5 (patch)
tree1a7674bb6d4fbcecf1e6b83ff1834b238b06f2a5 /test/test_framework.h
parent6aebd10ba045085ed1d0ca7c0ffbf69196c3308c (diff)
server: WIP utf8 validation implementation
Diffstat (limited to 'test/test_framework.h')
-rw-r--r--test/test_framework.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_framework.h b/test/test_framework.h
index 327de00..3323190 100644
--- a/test/test_framework.h
+++ b/test/test_framework.h
@@ -1,5 +1,7 @@
#pragma once
+#include <stdio.h>
+
#define TEST(name) testfn__ ## name
@@ -23,3 +25,5 @@ void test_report_error(
return (ret_); \
} \
} while (0)
+
+void print_buffer(FILE *stream, const void *buffer, size_t length);