diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-30 16:13:39 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-30 16:13:39 -0400 |
| commit | dd9713497bfc9e27f9b1ff3181d34ee241f05ec8 (patch) | |
| tree | d5060412fb69387778d863ffaf7a4a47d9ea848e /docs/application/testing.md | |
| parent | cf9285b1dbdf687630076149413f16e5d4af82e8 (diff) | |
match internal kpl status
Diffstat (limited to 'docs/application/testing.md')
| -rw-r--r-- | docs/application/testing.md | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ \ |
