From 1cec086a6034ad546977cae7aeaf4bb876d21970 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 21 Sep 2025 16:54:36 -0400 Subject: Deprecate `>> x ... = val` form of doctests and rename them to 'debug logs', also add multi-expression support --- src/stdlib/stdlib.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/stdlib/stdlib.h') diff --git a/src/stdlib/stdlib.h b/src/stdlib/stdlib.h index 9bae5a6c..e52b5cd1 100644 --- a/src/stdlib/stdlib.h +++ b/src/stdlib/stdlib.h @@ -69,14 +69,6 @@ void end_inspect(const void *expr, const TypeInfo_t *type); expr; \ end_inspect(NULL, typeinfo); \ } -__attribute__((nonnull)) void test_value(const char *filename, int64_t start, int64_t end, const void *expr, - const void *expected, const TypeInfo_t *type); -#define test(type, expr, expected, typeinfo, start, end) \ - { \ - type _expr = expr; \ - type _expected = expected; \ - test_value(__SOURCE_FILE__, start, end, &_expr, &_expected, typeinfo); \ - } void say(Text_t text, bool newline); Text_t ask(Text_t prompt, bool bold, bool force_tty); -- cgit v1.2.3