From dd9713497bfc9e27f9b1ff3181d34ee241f05ec8 Mon Sep 17 00:00:00 2001 From: nodist Date: Tue, 30 Jun 2026 16:13:39 -0400 Subject: match internal kpl status --- docs/application/testing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/application/testing.md') diff --git a/docs/application/testing.md b/docs/application/testing.md index 6e85c6f..2964fae 100644 --- a/docs/application/testing.md +++ b/docs/application/testing.md @@ -19,7 +19,7 @@ FAIL(FAIL_STRING) ```c typedef struct { const char *name; - kpl_error error; + kpl_error *error; } kpl_test; // TODO STORE ERRORS FOR PRINT AT END @@ -29,7 +29,7 @@ typedef struct { #define TEST(NAME) \ _TEST_FN(NAME); \ static void __attribute__((constructor)) _kpl_test_constructor_##NAME(void) { \ - kpl_test _test = { .name = #NAME; .error = nullptr }; \ + kpl_test _test = { .name = #NAME; .error = NULL }; \ kpl_test_fn_##NAME(&test); \ if (_test.error) { \ /* TODO STORE ERROR */ \ -- cgit v1.2.3