| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Effect of autocommands on marks is not tested.
Solution: Add a couple of tests. (James McCoy, closes #2271)
|
|
|
|
|
| |
Problem: Test_swap_group may leave file behind.
Solution: Add a try/finally.
|
|
|
|
|
| |
Problem: Test_swap_directory was accidentally commented out.
Solution: Uncomment the test.
|
|
|
|
|
| |
Problem: Swap test not skipped when there is one group.
Solution: Convert list to string for the message.
|
|
|
|
|
|
|
| |
Problem: Others can read the swap file if a user is careless with his
primary group.
Solution: If the group permission allows for reading but the world
permissions doesn't, make sure the group is right.
|
|
|
|
|
| |
Problem: Terminal redir test is flaky.
Solution: Add it to the list of flaky tests.
|
|
|
|
|
|
| |
Problem: Using global variables for WaitFor().
Solution: Use a lambda function instead. Don't check a condition if
WaitFor() already checked it.
|
|
|
|
|
|
|
| |
Problem: Search test can be flaky.
Solution: Use WaitFor() instead of a delay. Make it possible to pass a
funcref to WaitFor() to avoid the need for global variables.
(James McCoy, closes #2282)
|
|
|
|
|
| |
Problem: No test for fix of undefined behavior.
Solution: Add a test. (closes #2255)
|
|
|
|
|
|
| |
Problem: Still too many old style tests.
Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
closes #2272)
|
|
|
|
|
| |
Problem: Invalid expressin passed to WaitFor().
Solution: Check if the variable exists.
|
|
|
|
|
|
|
| |
Problem: 'hlsearch' highlighting not removed after incsearch (lacygoill)
Solution: Redraw all windows. Start search at the end of the match. Improve
how CTRL-G works with incremental search. Add tests. (Christian
Brabandt, Hirohito Higashi, haya14busa, closes #2267)
|
|
|
|
|
|
| |
Problem: No error when WaitFor() gets an invalid wrong expression.
Solution: Do not ignore errors in evaluationg the expression. Fix places
where the expression was wrong.
|
|
|
|
|
| |
Problem: Popup test has an arbitrary delay.
Solution: Wait for the ruler to show. (James McCoy)
|
|
|
|
|
|
|
| |
Problem: When WaitFor() has a wrong expression it just waits a second,
which goes unnoticed. (James McCoy)
Solution: When WaitFor() times out throw an exception. Fix places where the
expression was wrong.
|
|
|
|
|
|
| |
Problem: Search test does not work correctly on MS-Windows.
Solution: Put text in a file instead of sending it to the terminal.
(Christian Brabandt)
|
|
|
|
|
| |
Problem: No test for what 8.0.1227 fixes.
Solution: Add a test that triggers the problem. (Christian Brabandt)
|
|
|
|
|
|
| |
Problem: Function argument with only dash is seen as number zero. (Wang
Shidong)
Solution: See a dash as a string. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Popup test is flaky. (James McCoy)
Solution: Increase the wait time. (Dominique Pelle)
|
|
|
|
|
|
| |
Problem: MS-Windows: term_start() does not support environment.
Solution: Implement the environment argument. (Yasuhiro Matsumoto, closes
#2264)
|
|
|
|
|
|
| |
Problem: Cannot use a lambda for the skip argument to searchpair().
Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454,
closes #2265)
|
|
|
|
|
|
| |
Problem: Incremental search only shows one match.
Solution: When 'incsearch' and and 'hlsearch' are both set highlight all
matches. (haya14busa, closes #2198)
|
|
|
|
|
|
| |
Problem: ":set scroll&" often gives an error.
Solution: Don't use a fixed default value, use half the window height. Add a
test. (Ozaki Kiichi, closes #2104)
|
|
|
|
|
| |
Problem: Expanding file name drops dash. (stucki)
Solution: Use the right position. (Christian Brabandt, closes #2184)
|
|
|
|
|
| |
Problem: Edit and popup tests failing.
Solution: Make the tests pass.
|
|
|
|
|
| |
Problem: No check for spell region being zero. (geeknik)
Solution: Check for zero. (closes #2252)
|
|
|
|
|
|
| |
Problem: Still interference between test functions.
Solution: Clear autocommands. Wipe all buffers. Fix tests that depend on a
specific start context.
|
|
|
|
|
|
| |
Problem: Crash when using autocomplete and tab pages.
Solution: Check if the current tab changed. (Christian Brabandt, closes
#2239)
|
|
|
|
|
| |
Problem: Test functions interfere with each other.
Solution: Cleanup tab pages, windows and buffers. Reset option.
|
|
|
|
|
|
| |
Problem: Still too many old style tests.
Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
closes #2256)
|
|
|
|
|
| |
Problem: Skipping empty statusline groups is not correct.
Solution: Also set group_end_userhl. (itchyny)
|
|
|
|
|
| |
Problem: Terminal test is flaky.
Solution: Add test function to list of flaky tests.
|
|
|
|
|
| |
Problem: Writing to freed memory in autocmd.
Solution: Make a copy of the tag line. (Dominique Pelle, closes #2245)
|
|
|
|
|
|
|
| |
Problem: When typing a search pattern CTRL-G and CTRL-T are ignored when
there is typeahead.
Solution: Don't pass SEARCH_PEEK and don't call char_avail(). (haya14busa,
closes #2233)
|
|
|
|
|
|
| |
Problem: Still too many old style tests.
Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
closes #2230)
|
|
|
|
|
|
| |
Problem: 'statusline' drops empty group with highlight change.
Solution: Do not drop an empty group if it changes highlighting. (Marius
Gedminas, closes #2228)
|
|
|
|
|
|
| |
Problem: Profiling skips the first and last script line.
Solution: Check for BOM after setting script ID. (Lemonboy, closes #2103,
closes #2112) Add a test. List the trailing script lines.
|
|
|
|
|
| |
Problem: No autocmd for entering or leaving the command line.
Solution: Add CmdlineEnter and CmdlineLeave.
|
|
|
|
|
| |
Problem: Using "1q" it is possible to unload a changed buffer. (Rick Howe)
Solution: Check the right window for changes.
|
|
|
|
|
| |
Problem: A QuitPre autocommand may get the wrong file name.
Solution: Pass the buffer being closed to apply_autocmds(). (Rich Howe)
|
|
|
|
|
|
| |
Problem: Terminal window mistreats composing characters.
Solution: Count composing characters with the base character. (Ozaki Kiichi,
closes #2195)
|
|
|
|
|
|
| |
Problem: :wall gives an errof for a terminal window. (Marius Gedminas)
Solution: Don't try writing a buffer that can't be written. (Yasuhiro
Matsumoto, closes #2190)
|
|
|
|
|
| |
Problem: Tests switch the bell off twice.
Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
|
|
|
|
|
|
| |
Problem: Crash when wiping out a buffer after using getbufinfo().
(Yegappan Lakshmanan)
Solution: Remove b:changedtick from the buffer variables.
|
|
|
|
|
|
|
| |
Problem: Vim becomes unusable after opening new window in BufWritePre
event.
Solution: Call not_exiting(). (Martin Tournoij, closes #2205)
Also for "2q" when a help window is open. Add a test.
|
|
|
|
|
|
| |
Problem: Autocmd test fails on MS-Windows.
Solution: Give the buffer a name and find the buffer to be wiped out by
name.
|
|
|
|
|
|
| |
Problem: Still quite a few old style tests.
Solution: Convert old to new style tests. (Yegappan Lakshmanan)
Avoid ringing the bell while running tests.
|
|
|
|
|
| |
Problem: The :marks command is not tested.
Solution: Add a test. (Dominique Pelle, closes #2197)
|
|
|
|
|
| |
Problem: Tests using Vim command fail on MS-Windows.
Solution: Do not add quotes around the Vim command.
|
|
|
|
|
| |
Problem: MS-Windows testclean target deletes the color script.
Solution: Rename the script file.
|