mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
PR template: add a test if you fixed a bug
This commit is contained in:
parent
d68e31a863
commit
cbf5de7c8f
1 changed files with 3 additions and 1 deletions
4
.github/PULL_REQUEST_TEMPLATE
vendored
4
.github/PULL_REQUEST_TEMPLATE
vendored
|
@ -1,4 +1,4 @@
|
|||
Please, delete this in your PR, after reading it.
|
||||
**Please delete this information after reading it.*
|
||||
|
||||
Please title your PR as follows: `time: fix foo bar`. Always start with the thing you are fixing, then describe the fix.
|
||||
Don't use past tense (e.g. "fixed foo bar").
|
||||
|
@ -18,6 +18,8 @@ fn test_foo() {
|
|||
}
|
||||
```
|
||||
|
||||
If you are fixing a bug, please add a test that covers it.
|
||||
|
||||
Before submitting a PR, please run the tests with `make test`, and make sure V can still compile itself. Run this twice:
|
||||
|
||||
./v -o v compiler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue