1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix os_test.v

This commit is contained in:
yuyi
2020-02-21 19:24:13 +08:00
committed by GitHub
parent d90a291c5e
commit 527377dc86
4 changed files with 39 additions and 21 deletions

View File

@@ -1069,6 +1069,12 @@ fn test_hello() {
All test functions have to be placed in `*_test.v` files and begin with `test_`.
You can also define a special test function: `testsuite_begin`, which will be
run *before* all other test functions in a `_test.v` file.
You can also define a special test function: `testsuite_end`, which will be
run *after* all other test functions in a `_test.v` file.
To run the tests do `v hello_test.v`.
To test an entire module, do `v test mymodule`.