From a90f8581c30cf434c7f5ff5a10ded59c57d7e6d3 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 10 Mar 2024 00:59:42 -0500 Subject: Clean up doctesting for assignments --- builtins/functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtins/functions.c') diff --git a/builtins/functions.c b/builtins/functions.c index ae67fcb9..2bd47286 100644 --- a/builtins/functions.c +++ b/builtins/functions.c @@ -130,7 +130,7 @@ public CORD builtin_last_err() return CORD_from_char_star(strerror(errno)); } -public void __doctest(void *expr, const TypeInfo *type, CORD expected, const char *filename, int64_t start, int64_t end) +public void $test(void *expr, const TypeInfo *type, CORD expected, const char *filename, int64_t start, int64_t end) { static file_t *file = NULL; if (filename && (file == NULL || strcmp(file->filename, filename) != 0)) -- cgit v1.2.3