ci: run VAUTOFIX=1 v test cmd/tools/vdoc to update cmd/tools/vdoc/testdata/run_examples_bad/main.comments.out

This commit is contained in:
Delyan Angelov 2025-08-13 15:25:08 +03:00
parent 6538b624e1
commit 89c470bbba
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -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