summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_codestyle.vim
AgeCommit message (Collapse)Author
2024-04-02patch 9.1.0256: Finding autocmd events is inefficientv9.1.0256John Marriott
Problem: Finding autocmd events is inefficient Solution: Use binary search to find events, cache last found events, avoid use of strlen(), add SessionWritePost autocmd, fix test_codestyle and avoid endless loop (John Marriott) closes: #14287 Signed-off-by: John Marriott <basilisk@internode.on.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-01tests: Improve the codestyle test (#12988)Christian Brabandt
Improve it by the following: 1) Also check xxd source 2) Test_source_files(): don't stop on the first error found, continue until the end of the file and report all found errors like this: Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-06-04patch 9.0.1604: errors from the codestyle test are a bit confusingv9.0.1604Bram Moolenaar
Problem: Errors from the codestyle test are a bit confusing. Solution: Use assert_report() with a clearer message. Avoid a warning for an existing swap file.
2023-05-19patch 9.0.1570: some tests are slowv9.0.1570Bram Moolenaar
Problem: Some tests are slow. Solution: Make a few test cases faster.
2023-05-09patch 9.0.1529: code style test doesn't check for space after "if"v9.0.1529Bram Moolenaar
Problem: Code style test doesn't check for space after "if". Solution: Add a test for space.
2023-02-21patch 9.0.1335: no test for bad use of spaces in help filesv9.0.1335h-east
Problem: No test for bad use of spaces in help files. Solution: Add checks for use of spaces in help files. Ignore intentional spaces. (Hirohito Higashi, closes #11952)
2023-01-28patch 9.0.1257: code style is not check in test scriptsv9.0.1257Bram Moolenaar
Problem: Code style is not check in test scripts. Solution: Add basic code style check for test files.
2023-01-22patch 9.0.1234: the code style has to be checked manuallyv9.0.1234Bram Moolenaar
Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems.