summaryrefslogtreecommitdiff
path: root/src/testdir
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.0.1269: effect of autocommands on marks is not testedv8.0.1269Bram Moolenaar2017-11-051-0/+127
| | | | | Problem: Effect of autocommands on marks is not tested. Solution: Add a couple of tests. (James McCoy, closes #2271)
* patch 8.0.1267: Test_swap_group may leave file behindv8.0.1267Bram Moolenaar2017-11-042-20/+23
| | | | | Problem: Test_swap_group may leave file behind. Solution: Add a try/finally.
* patch 8.0.1266: Test_swap_directory was commented outv8.0.1266Bram Moolenaar2017-11-041-46/+46
| | | | | Problem: Test_swap_directory was accidentally commented out. Solution: Uncomment the test.
* patch 8.0.1265: swap test not skipped when there is one groupv8.0.1265Bram Moolenaar2017-11-041-1/+1
| | | | | Problem: Swap test not skipped when there is one group. Solution: Convert list to string for the message.
* patch 8.0.1263: others can read the swap file if a user is carelessv8.0.1263Bram Moolenaar2017-11-041-39/+73
| | | | | | | 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.
* patch 8.0.1262: terminal redir test is flakyv8.0.1262Bram Moolenaar2017-11-041-0/+1
| | | | | Problem: Terminal redir test is flaky. Solution: Add it to the list of flaky tests.
* patch 8.0.1260: using global variables for WaitFor()v8.0.1260Bram Moolenaar2017-11-046-80/+66
| | | | | | Problem: Using global variables for WaitFor(). Solution: Use a lambda function instead. Don't check a condition if WaitFor() already checked it.
* patch 8.0.1259: search test can be flakyv8.0.1259Bram Moolenaar2017-11-042-49/+52
| | | | | | | 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)
* patch 8.0.1257: no test for fix of undefined behaviorv8.0.1257Bram Moolenaar2017-11-021-0/+4
| | | | | Problem: No test for fix of undefined behavior. Solution: Add a test. (closes #2255)
* patch 8.0.1253: still too many old style testsv8.0.1253Bram Moolenaar2017-11-0218-355/+363
| | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes #2272)
* patch 8.0.1251: invalid expressin passed to WaitFor()v8.0.1251Bram Moolenaar2017-11-021-1/+1
| | | | | Problem: Invalid expressin passed to WaitFor(). Solution: Check if the variable exists.
* patch 8.0.1250: 'hlsearch' highlighting not removed after incsearchv8.0.1250Bram Moolenaar2017-11-021-0/+112
| | | | | | | 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)
* patch 8.0.1249: no error when WaitFor() gets an invalid wrong expressionv8.0.1249Bram Moolenaar2017-11-022-8/+9
| | | | | | 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.
* patch 8.0.1246: popup test has an arbitrary delayv8.0.1246Bram Moolenaar2017-11-021-3/+7
| | | | | Problem: Popup test has an arbitrary delay. Solution: Wait for the ruler to show. (James McCoy)
* patch 8.0.1245: when WaitFor() has a wrong expression it just waits a secondv8.0.1245Bram Moolenaar2017-11-024-26/+31
| | | | | | | 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.
* patch 8.0.1244: search test does not work correctly on MS-Windowsv8.0.1244Bram Moolenaar2017-11-021-5/+8
| | | | | | 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)
* patch 8.0.1243: no test for what 8.0.1227 fixesv8.0.1243Bram Moolenaar2017-11-022-0/+22
| | | | | Problem: No test for what 8.0.1227 fixes. Solution: Add a test that triggers the problem. (Christian Brabandt)
* patch 8.0.1242: function argument with only dash is seen as number zerov8.0.1242Bram Moolenaar2017-11-021-0/+19
| | | | | | Problem: Function argument with only dash is seen as number zero. (Wang Shidong) Solution: See a dash as a string. (Christian Brabandt)
* patch 8.0.1241: popup test is flakyv8.0.1241Bram Moolenaar2017-10-311-1/+1
| | | | | Problem: Popup test is flaky. (James McCoy) Solution: Increase the wait time. (Dominique Pelle)
* patch 8.0.1240: MS-Windows: term_start() does not support environmentv8.0.1240Bram Moolenaar2017-10-301-5/+10
| | | | | | Problem: MS-Windows: term_start() does not support environment. Solution: Implement the environment argument. (Yasuhiro Matsumoto, closes #2264)
* patch 8.0.1239: cannot use a lambda for the skip argument to searchpair()v8.0.1239Bram Moolenaar2017-10-301-0/+19
| | | | | | Problem: Cannot use a lambda for the skip argument to searchpair(). Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454, closes #2265)
* patch 8.0.1238: incremental search only shows one matchv8.0.1238Bram Moolenaar2017-10-291-0/+117
| | | | | | Problem: Incremental search only shows one match. Solution: When 'incsearch' and and 'hlsearch' are both set highlight all matches. (haya14busa, closes #2198)
* patch 8.0.1237: ":set scroll&" often gives an errorv8.0.1237Bram Moolenaar2017-10-292-0/+37
| | | | | | 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)
* patch 8.0.1231: expanding file name drops dashv8.0.1231Bram Moolenaar2017-10-281-0/+21
| | | | | Problem: Expanding file name drops dash. (stucki) Solution: Use the right position. (Christian Brabandt, closes #2184)
* patch 8.0.1226: edit and popup tests failingv8.0.1226Bram Moolenaar2017-10-272-2/+5
| | | | | Problem: Edit and popup tests failing. Solution: Make the tests pass.
* patch 8.0.1225: no check for spell region being zerov8.0.1225Bram Moolenaar2017-10-271-0/+9
| | | | | Problem: No check for spell region being zero. (geeknik) Solution: Check for zero. (closes #2252)
* patch 8.0.1224: still interference between test functionsv8.0.1224Bram Moolenaar2017-10-2711-29/+30
| | | | | | Problem: Still interference between test functions. Solution: Clear autocommands. Wipe all buffers. Fix tests that depend on a specific start context.
* patch 8.0.1223: crash when using autocomplete and tab pagesv8.0.1223Bram Moolenaar2017-10-261-0/+37
| | | | | | Problem: Crash when using autocomplete and tab pages. Solution: Check if the current tab changed. (Christian Brabandt, closes #2239)
* patch 8.0.1222: test functions interfere with each otherv8.0.1222Bram Moolenaar2017-10-264-3/+17
| | | | | Problem: Test functions interfere with each other. Solution: Cleanup tab pages, windows and buffers. Reset option.
* patch 8.0.1221: still too many old style testsv8.0.1221Bram Moolenaar2017-10-2629-323/+536
| | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes #2256)
* patch 8.0.1220: skipping empty statusline groups is not correctv8.0.1220Bram Moolenaar2017-10-261-0/+6
| | | | | Problem: Skipping empty statusline groups is not correct. Solution: Also set group_end_userhl. (itchyny)
* patch 8.0.1219: terminal test is flakyv8.0.1219Bram Moolenaar2017-10-261-7/+15
| | | | | Problem: Terminal test is flaky. Solution: Add test function to list of flaky tests.
* patch 8.0.1218: writing to freed memory in autocmdv8.0.1218Bram Moolenaar2017-10-261-0/+18
| | | | | Problem: Writing to freed memory in autocmd. Solution: Make a copy of the tag line. (Dominique Pelle, closes #2245)
* patch 8.0.1210: CTRL-G and CTRL-T are ignored with typeaheadv8.0.1210Bram Moolenaar2017-10-221-0/+20
| | | | | | | 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)
* patch 8.0.1209: still too many old style testsv8.0.1209Bram Moolenaar2017-10-2218-225/+211
| | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes #2230)
* patch 8.0.1208: 'statusline' drops empty group with highlight changev8.0.1208Bram Moolenaar2017-10-221-1/+64
| | | | | | Problem: 'statusline' drops empty group with highlight change. Solution: Do not drop an empty group if it changes highlighting. (Marius Gedminas, closes #2228)
* patch 8.0.1207: profiling skips the first and last script linev8.0.1207Bram Moolenaar2017-10-191-1/+37
| | | | | | 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.
* patch 8.0.1206: no autocmd for entering or leaving the command linev8.0.1206Bram Moolenaar2017-10-191-0/+22
| | | | | Problem: No autocmd for entering or leaving the command line. Solution: Add CmdlineEnter and CmdlineLeave.
* patch 8.0.1205: it is possible to unload a changed bufferv8.0.1205Bram Moolenaar2017-10-191-0/+13
| | | | | Problem: Using "1q" it is possible to unload a changed buffer. (Rick Howe) Solution: Check the right window for changes.
* patch 8.0.1204: a QuitPre autocommand may get the wrong file namev8.0.1204Bram Moolenaar2017-10-191-0/+14
| | | | | Problem: A QuitPre autocommand may get the wrong file name. Solution: Pass the buffer being closed to apply_autocmds(). (Rich Howe)
* patch 8.0.1203: terminal window mistreats composing charactersv8.0.1203Bram Moolenaar2017-10-151-0/+57
| | | | | | Problem: Terminal window mistreats composing characters. Solution: Count composing characters with the base character. (Ozaki Kiichi, closes #2195)
* patch 8.0.1202: :wall gives an errof for a terminal windowv8.0.1202Bram Moolenaar2017-10-151-0/+9
| | | | | | 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)
* patch 8.0.1200: tests switch the bell off twicev8.0.1200Bram Moolenaar2017-10-1518-43/+4
| | | | | Problem: Tests switch the bell off twice. Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
* patch 8.0.1193: crash when wiping out a buffer after using getbufinfo()v8.0.1193Bram Moolenaar2017-10-141-1/+5
| | | | | | Problem: Crash when wiping out a buffer after using getbufinfo(). (Yegappan Lakshmanan) Solution: Remove b:changedtick from the buffer variables.
* patch 8.0.1190: unusable after opening new window in BufWritePre eventv8.0.1190Bram Moolenaar2017-10-141-0/+44
| | | | | | | 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.
* patch 8.0.1188: autocmd test fails on MS-Windowsv8.0.1188Bram Moolenaar2017-10-131-1/+3
| | | | | | Problem: Autocmd test fails on MS-Windows. Solution: Give the buffer a name and find the buffer to be wiped out by name.
* patch 8.0.1186: still quite a few old style testsv8.0.1186Bram Moolenaar2017-10-1222-1213/+635
| | | | | | Problem: Still quite a few old style tests. Solution: Convert old to new style tests. (Yegappan Lakshmanan) Avoid ringing the bell while running tests.
* patch 8.0.1184: the :marks command is not testedv8.0.1184Bram Moolenaar2017-10-081-0/+52
| | | | | Problem: The :marks command is not tested. Solution: Add a test. (Dominique Pelle, closes #2197)
* patch 8.0.1181: tests using Vim command fail on MS-Windowsv8.0.1181Bram Moolenaar2017-10-072-6/+6
| | | | | Problem: Tests using Vim command fail on MS-Windows. Solution: Do not add quotes around the Vim command.
* patch 8.0.1180: MS-Windows testclean target deletes the color scriptv8.0.1180Bram Moolenaar2017-10-071-0/+0
| | | | | Problem: MS-Windows testclean target deletes the color script. Solution: Rename the script file.