mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
PR template: add a test if you fixed a bug
This commit is contained in:
parent
d68e31a863
commit
cbf5de7c8f
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.
|
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").
|
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:
|
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
|
./v -o v compiler
|
||||||
|
Loading…
Reference in New Issue
Block a user