From 1f9147187d66e95a0ffedd4d5595ec98646b5fe1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 25 Mar 2025 15:40:59 -0400 Subject: Make docstring tests use an actual expression AST instead of text matching --- src/ast.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ast.h') diff --git a/src/ast.h b/src/ast.h index c9db9061..c682726f 100644 --- a/src/ast.h +++ b/src/ast.h @@ -323,8 +323,7 @@ struct ast_s { Moment_t moment; } Moment; struct { - ast_t *expr; - const char *output; + ast_t *expr, *expected; bool skip_source:1; } DocTest; struct { -- cgit v1.2.3