From 89c470bbba6d886ee4d7c620dd81db5dbf8fbd70 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 13 Aug 2025 15:25:08 +0300 Subject: [PATCH] ci: run `VAUTOFIX=1 v test cmd/tools/vdoc` to update cmd/tools/vdoc/testdata/run_examples_bad/main.comments.out --- cmd/tools/vdoc/testdata/run_examples_bad/main.comments.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tools/vdoc/testdata/run_examples_bad/main.comments.out b/cmd/tools/vdoc/testdata/run_examples_bad/main.comments.out index 4b3fd83a9a..ea80262c05 100644 --- a/cmd/tools/vdoc/testdata/run_examples_bad/main.comments.out +++ b/cmd/tools/vdoc/testdata/run_examples_bad/main.comments.out @@ -1,5 +1,5 @@ module main fn abc() - abc just prints 'xyz'. The important thing however is the next line, that does an assertion, that should FAIL to be executed with `v doc -run-examples good.v`: + abc just prints 'xyz'. The important thing however is the next line, that does an assertion, that should FAIL to be executed with `v doc -unsafe-run-examples main.v`, and should compile with -check-examples: Example: assert 5 * 5 == 77