mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
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:
parent
6538b624e1
commit
89c470bbba
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
module main
|
module main
|
||||||
|
|
||||||
fn abc()
|
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
|
Example: assert 5 * 5 == 77
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue