summaryrefslogtreecommitdiff
path: root/source/tests
diff options
context:
space:
mode:
Diffstat (limited to 'source/tests')
-rw-r--r--source/tests/http1.test.c5
-rw-r--r--source/tests/secure_random.test.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/source/tests/http1.test.c b/source/tests/http1.test.c
index 1808785..09da5f4 100644
--- a/source/tests/http1.test.c
+++ b/source/tests/http1.test.c
@@ -3,6 +3,9 @@
#define KIT_TEST_FILE http1
#include "../kit/kit_test.h"
-TEST("http1") { }
+TEST("http1") {
+ // TODO
+ //
+}
#undef KIT_TEST_FILE
diff --git a/source/tests/secure_random.test.c b/source/tests/secure_random.test.c
index efcf327..62021b1 100644
--- a/source/tests/secure_random.test.c
+++ b/source/tests/secure_random.test.c
@@ -8,8 +8,8 @@ TEST("secure random") {
int v[20];
memset(v, 0, sizeof v);
- secure_random(40, v);
- secure_random(40, v + 10);
+ REQUIRE_EQ(secure_random(40, v), KIT_OK);
+ REQUIRE_EQ(secure_random(40, v + 10), KIT_OK);
int repeats = 0;