@@ -26,14 +26,14 @@ To run locally, you have to be on MacOS or Linux. Sorry, Windows testing is
2626not supported. However, there is a [ docker image] ( #running-the-tests-in-docker )
2727in which you can run the tests.
2828
29- * Ensure you have at least the Vim vresion in YCM_VIM_VERSION (in
29+ * Ensure you have at least the Vim version in YCM_VIM_VERSION (in
3030 ` test/docker/ci/image/Dockerfile ` )
3131* Ensure ycmd is compiled *** with python3*** and clangd is enabled
3232 ` python3 install.py --ts-completer --clangd-completer --java-completer `
3333* Install the test python deps (` pip install -r python/test_requirements.txt ` )
3434* Run ` ./test/run_vim_tests `
3535
36- ## Runniing the tests in Windows (WSL)
36+ ## Running the tests in Windows (WSL)
3737
3838NOTE: This environment isn't officially supported, and the preferred mechanism to run the tests is to use docker.
3939
@@ -161,21 +161,21 @@ YCM's `ycm_state` object knows about.
161161# The test plugin
162162
163163The "plugin" provides a handful of things, some of which were simply ported from
164- Vim's test framework, and some were writted specifically for YCM.
164+ Vim's test framework, and some were written specifically for YCM.
165165
166166## Ported from Vim
167167
168168These are general purpose functions which are commonly used:
169169
170170* ` WaitForAssert ` : This one is the most useful. It takes a callable (usually a
171171 lambda) and waits for it to return 0, but allows the Vim event loop to run in
172- betwen calls. This is key to ensuring that the YCM code can execute while the
172+ between calls. This is key to ensuring that the YCM code can execute while the
173173 script is actively trying to test it. ** NOTE** : It waits for the _ function to
174174 return 0_ , ** NOT** for the assert to be true/v: errors to be empty!
175175
176176## YCM-specific
177177
178- The autoload functions perform some useful common YCM-sepcific stuff such as
178+ The autoload functions perform some useful common YCM-specific stuff such as
179179setup and teardown, and will likely be built out over time as the suite
180180increases in size and complexity.
181181
@@ -225,7 +225,7 @@ Things that you need to know to write tests effectively:
225225
226226` run_vim_tests ` takes arguments of the form ` <test script>:<test function filter> ` .
227227
228- For eample to just run the "MyOtherTest" test in the ` mytests.test.vim ` :
228+ For example to just run the "MyOtherTest" test in the ` mytests.test.vim ` :
229229
230230```
231231$ run_vim_tests mytests.test.vim:MyOtherTest
0 commit comments