Commit: runtime(doc): Emphasize adding tests when contributing

2 views
Skip to first unread message

Christian Brabandt

unread,
Dec 31, 2025, 4:16:05 AM (3 days ago) 12/31/25
to vim...@googlegroups.com
runtime(doc): Emphasize adding tests when contributing

Commit: https://github.com/vim/vim/commit/ce1636548d1e80dde83a2063704e23f3616c9168
Author: Christian Brabandt <c...@256bit.org>
Date: Wed Dec 31 09:05:54 2025 +0000

runtime(doc): Emphasize adding tests when contributing

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index b37315d03..b85614426 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -12,10 +12,10 @@ A pull request has the advantage that it will trigger the Continuous
Integration tests, you will be warned of problems (you can ignore the coverage
warning, it's noisy).

-Please consider adding a test. All new functionality should be tested and bug
-fixes should be tested for regressions: the test should fail before the fix and
-pass after the fix. Look through recent patches for examples and find help
-with ":help testing". The tests are located under "src/testdir".
+Please always add a test, if possible. All new functionality should be tested
+and bug fixes should be tested for regressions: the test should fail before the
+fix and pass after the fix. Look through recent patches for examples and find
+help with ":help testing". The tests are located under "src/testdir".

Contributions will be distributed with Vim under the Vim license. Providing a
change to be included implies that you agree with this and your contribution
Reply all
Reply to author
Forward
0 new messages