Bram Moolenaar
1f448d906b
patch 8.2.2643: various code not covered by tests
...
Problem: Various code not covered by tests.
Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995 )
2021-03-22 19:37:06 +01:00
Bram Moolenaar
17709e280a
patch 8.2.2623: some tests fail when run as root
...
Problem: Some tests fail when run as root.
Solution: Use CheckNotRoot.
2021-03-19 14:38:12 +01:00
Bram Moolenaar
f9a65505d1
patch 8.2.2570: tests fail when run as root
...
Problem: Tests fail when run as root.
Solution: Add a comment mentioning the expected failure. (issue #7919 )
2021-03-05 20:47:44 +01:00
Bram Moolenaar
a1070eae77
patch 8.2.2534: missing test coverage
...
Problem: Missing test coverage.
Solution: Improve test coverage for completion with different encodings,
mapset(), and term function failures. (Dominique Pellé,
closes #7877 )
2021-02-20 19:21:36 +01:00
Bram Moolenaar
caf73dcfad
patch 8.2.1910: reading past the end of the command line
...
Problem: Reading past the end of the command line.
Solution: Check for NUL. (closes #7204 )
2020-10-26 21:39:13 +01:00
Bram Moolenaar
b53e13a91a
patch 8.2.1874: can't do something just before leaving Insert mode
...
Problem: Can't do something just before leaving Insert mode.
Solution: Add the InsertLeavePre autocommand event. (closes #7177 )
2020-10-21 12:19:53 +02:00
Bram Moolenaar
21cbe175ee
patch 8.2.1842: crash when USE_FNAME_CASE is defined and using :browse
...
Problem: Crash when USE_FNAME_CASE is defined and using :browse.
Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
closes #7123 )
2020-10-13 19:08:24 +02:00
Bram Moolenaar
c8fe645c19
patch 8.2.1793: not consistently giving the "is a directory" warning
...
Problem: Not consistently giving the "is a directory" warning.
Solution: Adjust check for illegal file name and directory. (Yasuhiro
Matsumoto, closes #7067 )
2020-10-03 17:04:37 +02:00
Bram Moolenaar
6d91bcb4d2
patch 8.2.1432: various inconsistencies in test files
...
Problem: Various inconsistencies in test files.
Solution: Add modelines where they were missing. Use Check commands instead
of silently skipping over tests. Adjust indents and comments.
(Ken Takata, closes #6695 )
2020-08-12 18:50:36 +02:00
Bram Moolenaar
b86abadf87
patch 8.2.1340: some tests fail on Cirrus CI and/or with FreeBSD
...
Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
Solution: Make 'backupskip' empty. Do not run tests as root. Check for
directory when using viminfo. (Ozaki Kiichi, closes #6596 )
2020-08-01 16:08:19 +02:00
Bram Moolenaar
845e0ee594
patch 8.2.1022: various parts of code not covered by tests
...
Problem: Various parts of code not covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6300 )
2020-06-20 16:05:32 +02:00
Bram Moolenaar
b340baed9f
patch 8.2.0982: insufficient testing for reading/writing files
...
Problem: Insufficient testing for reading/writing files.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6257 )
Add "ui_delay" to test_override() and use it for the CTRL-O test.
2020-06-15 19:51:56 +02:00
Bram Moolenaar
c9630d2658
patch 8.2.0968: no proper testing of the 'cpoptions' flags
...
Problem: No proper testing of the 'cpoptions' flags.
Solution: Add tests. (Yegappan Lakshmanan, closes #6251 )
2020-06-13 13:20:48 +02:00
Bram Moolenaar
f9ab52e155
patch 8.2.0698: insert mode completion not fully tested
...
Problem: Insert mode completion not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041 )
2020-05-05 19:57:18 +02:00
Bram Moolenaar
6adb9ea0a6
patch 8.2.0670: cannot change window when evaluating 'completefunc'
...
Problem: Cannot change window when evaluating 'completefunc'.
Solution: Make a difference between not changing text or buffers and also
not changing window.
2020-04-30 22:31:18 +02:00
Bram Moolenaar
db93495d27
patch 8.2.0649: undo problem whn an InsertLeave autocommand resets undo
...
Problem: Undo problem whn an InsertLeave autocommand resets undo. (Kutsan
Kaplan)
Solution: Do not create a new undo block when leaving Insert mode.
2020-04-27 20:18:31 +02:00
Bram Moolenaar
ff06f283e3
patch 8.2.0614: get ml_get error when deleting a line in 'completefunc'
...
Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
Lakshmanan)
Solution: Lock the text while evaluating 'completefunc'.
2020-04-21 22:01:14 +02:00
Bram Moolenaar
ca68ae1311
patch 8.2.0482: channel and sandbox code not sufficiently tested
...
Problem: Channel and sandbox code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5855 )
2020-03-30 19:32:53 +02:00
Bram Moolenaar
515545e11f
patch 8.2.0425: code for modeless selection not sufficiently tested
...
Problem: Code for modeless selection not sufficiently tested.
Solution: Add tests. Move mouse code functionality to a common script file.
(Yegappan Lakshmanan, closes #5821 )
2020-03-22 14:08:59 +01:00
Bram Moolenaar
1671f44881
patch 8.2.0369: various Normal mode commands not fully tested
...
Problem: Various Normal mode commands not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5751 )
2020-03-10 07:48:13 +01:00
Bram Moolenaar
f5f1e10d0d
patch 8.2.0363: some Normal mode commands not tested
...
Problem: Some Normal mode commands not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5746 )
2020-03-08 05:13:15 +01:00
Bram Moolenaar
bc2b71d44a
patch 8.2.0270: some code not covered by tests
...
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes #5649 )
2020-02-17 21:33:30 +01:00
Bram Moolenaar
4b96df5a01
patch 8.2.0156: various typos in source files and tests
...
Problem: Various typos in source files and tests.
Solution: Fix the typos. (Emir Sari, closes #5532 )
2020-01-26 22:00:26 +01:00
Bram Moolenaar
5a4c3082d7
patch 8.1.2373: cannot build with +popupwin but without +quickfix
...
Problem: Cannot build with +popupwin but without +quickfix. (John Marriott)
Solution: Adjust #ifdefs.
2019-12-01 15:23:11 +01:00
Bram Moolenaar
215ba3b636
patch 8.1.2263: 'noesckeys' test fails in GUI
...
Problem: 'noesckeys' test fails in GUI.
Solution: Skip the test in the GUI.
2019-11-06 15:07:07 +01:00
Bram Moolenaar
177c9f2f06
patch 8.1.2261: with modifyOtherKeys set 'noesckeys' doesn't work
...
Problem: With modifyOtherKeys set 'noesckeys' doesn't work. (James McCoy)
Solution: Disable modifyOtherKeys while in Insert mode when 'noesckeys' is
set. (closes #5180 )
2019-11-06 13:59:16 +01:00
Bram Moolenaar
8d3b51084a
patch 8.1.1988: :startinsert! does not work the same way as "A"
...
Problem: :startinsert! does not work the same way as "A".
Solution: Use the same code to move the cursor. (closes #4896 )
2019-09-05 21:29:01 +02:00
Bram Moolenaar
4c313b13fb
patch 8.1.1925: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
2019-08-24 22:58:31 +02:00
Bram Moolenaar
f8191c5f07
patch 8.1.1348: running tests may cause the window to move
...
Problem: Running tests may cause the window to move.
Solution: Correct the reported window position for the offset with the
position after ":winpos". Works around an xterm bug.
2019-05-18 17:22:54 +02:00
Bram Moolenaar
c6b37db1ba
patch 8.1.1214: old style tests
...
Problem: Old style tests.
Solution: Move tests from test14 to new style test files. (Yegappan
Lakshmanan, closes #4308 )
2019-04-27 18:00:34 +02:00
Bram Moolenaar
2ba4238818
patch 8.1.1011: indent from autoindent not removed from blank line
...
Problem: Indent from autoindent not removed from blank line. (Daniel Hahler)
Solution: Do not reset did_ai when text follows. (closes #4119 )
2019-03-16 18:11:07 +01:00
Bram Moolenaar
30276f2beb
patch 8.1.0811: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
2019-01-24 17:59:39 +01:00
Bram Moolenaar
1e1153600c
patch 8.1.0711: test files still use function!
...
Problem: Test files still use function!.
Solution: Remove the exclamation mark. Fix overwriting a function.
2019-01-09 23:01:02 +01:00
Bram Moolenaar
4dbc262764
patch 8.1.0504: when CTRL-C is mapped it triggers InsertLeave
...
Problem: When CTRL-C is mapped it triggers InsertLeave.
Solution: Make CTRL-C behave the same way when typed or used in a mapping.
2018-11-02 11:59:15 +01:00
Bram Moolenaar
2c8c681bfc
patch 8.1.0219: expanding ## fails to escape backtick
...
Problem: Expanding ## fails to escape backtick.
Solution: Escape a backtick in a file name. (closes #3257 )
2018-07-28 17:07:52 +02:00
Bram Moolenaar
ca851593a6
patch 8.1.0037: cannot easily append lines to another buffer
...
Problem: Cannot easily append lines to another buffer.
Solution: Add appendbufline().
2018-06-06 21:04:07 +02:00
Bram Moolenaar
adb8fbec4f
patch 8.1.0034: cursor not restored with ":edit #"
...
Problem: Cursor not restored with ":edit #".
Solution: Don't assume autocommands moved the cursor when it was moved to
the first non-blank.
2018-06-04 20:34:23 +02:00
Bram Moolenaar
02ae9b4a93
patch 8.0.1482: using feedkeys() does not work to test completion
...
Problem: Using feedkeys() does not work to test Insert mode completion.
(Lifepillar)
Solution: Do not check for typed keys when executing :normal or feedkeys().
Fix thesaurus completion not working when 'complete' is empty.
2018-02-09 15:06:02 +01:00
Bram Moolenaar
2a45d64d0a
patch 8.0.1226: edit and popup tests failing
...
Problem: Edit and popup tests failing.
Solution: Make the tests pass.
2017-10-27 01:35:00 +02:00
Bram Moolenaar
ff930cad8a
patch 8.0.1205: it is possible to unload a changed buffer
...
Problem: Using "1q" it is possible to unload a changed buffer. (Rick Howe)
Solution: Check the right window for changes.
2017-10-19 17:12:10 +02:00
Bram Moolenaar
67418d97b4
patch 8.0.1200: tests switch the bell off twice
...
Problem: Tests switch the bell off twice.
Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
2017-10-15 22:07:39 +02:00
Bram Moolenaar
1b38344e00
patch 8.0.1154: 'indentkeys' does not work properly
...
Problem: 'indentkeys' does not work properly. (Gary Johnson)
Solution: Get the cursor line again. (Christian Brabandt, closes #2151 )
2017-09-26 20:04:54 +02:00
Bram Moolenaar
15ecbd6f3d
patch 8.0.0545: edit test may fail on some systems
...
Problem: Edit test may fail on some systems.
Solution: If creating a directory with a very long path fails, bail out.
2017-04-07 14:10:48 +02:00
Bram Moolenaar
ba6ec18297
patch 8.0.0543: test_edit causes older xfce4-terminal to close
...
Problem: Test_edit causes older xfce4-terminal to close. (Dominique Pelle)
Solution: Reduce number of columns to 2000. Try to restore the window
position.
2017-04-04 22:41:10 +02:00
Bram Moolenaar
c77d675747
patch 8.0.0532: test with long directory name fails on Mac
...
Problem: Test with long directory name fails on Mac.
Solution: Skip the test on Mac systems.
2017-04-01 14:13:14 +02:00
Bram Moolenaar
9b81079ddd
patch 8.0.0531: test with long directory name fails on non-unix systems
...
Problem: Test with long directory name fails on non-unix systems.
Solution: Skip the test on non-unix systems.
2017-03-31 23:32:53 +02:00
Bram Moolenaar
658a3a2caf
patch 8.0.0530: buffer overflow when 'columns' is very big
...
Problem: Buffer overflow when 'columns' is very big. (Nikolai Pavlov)
Solution: Correctly compute where to truncate. Fix translation.
(closes #1600 )
2017-03-31 22:27:12 +02:00
Bram Moolenaar
c537947100
patch 8.0.0472: when a test fails another test may also fail
...
Problem: When a test fails and test.log is created, Test_edit_CTRL_I
matches it instead of test1.in.
Solution: Match with runtest.vim instead.
2017-03-16 22:38:00 +01:00
Bram Moolenaar
eb992cb90f
patch 8.0.0440: not enough test coverage in Insert mode
...
Problem: Not enough test coverage in Insert mode.
Solution: Add lots of tests. Add test_override(). (Christian Brabandt,
closes #1521 )
2017-03-09 18:20:16 +01:00