Nir Lichtman
73a024209c
patch 8.2.3888: the argument list may contain duplicates
...
Problem: The argument list may contain duplicates.
Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235 )
2021-12-24 20:28:03 +00:00
Bram Moolenaar
b6db146762
patch 8.2.3886: can define autocmd for every event by using "au!"
...
Problem: Can define autocmd for every event by using "au!".
Solution: Check if a command is present also for "au!".
2021-12-24 19:24:47 +00:00
Bram Moolenaar
679140c56b
patch 8.2.3885: arglist test fails
...
Problem: Arglist test fails.
Solution: Adjust for locking the arglist for ":all".
2021-12-24 18:58:46 +00:00
Bram Moolenaar
6f98371532
patch 8.2.3884: crash when clearing the argument list while using it
...
Problem: Crash when clearing the argument list while using it.
Solution: Lock the argument list for ":all".
2021-12-24 18:11:27 +00:00
Shougo Matsushita
3cad470385
patch 8.2.3616: arglist test does not clear the argument list consistently
...
Problem: Arglist test does not clear the argument list consistently.
Solution: Call Reset_arglist(). (Shougo Matsushita, closes #9154 )
2021-11-18 15:37:29 +00:00
Dominique Pelle
bfb2bb16bc
patch 8.2.3345: some code not covered by tests
...
Problem: Some code not covered by tests.
Solution: Add a few more tests. (Dominique Pellé, closes #8757 )
2021-08-14 21:11:51 +02:00
Bram Moolenaar
bed72df3e6
patch 8.2.2416: may get stuck in command line window state
...
Problem: May get stuck in command line window state.
Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test
pass on MS-Windows.
2021-01-27 20:34:29 +01:00
Bram Moolenaar
21829c5f2c
patch 8.2.2415: no way to check for the cmdwin feature
...
Problem: No way to check for the cmdwin feature, cmdline_hist is now always
enabled.
Solution: Add has('cmdwin') support. Skip arglist test on Windows
temporarily.
2021-01-26 22:42:21 +01:00
Bram Moolenaar
bb4b93ed85
patch 8.2.2413: crash when using :all while using a cmdline window
...
Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
Solution: Disallow :all from the cmdline window.
2021-01-26 21:35:08 +01:00
Bram Moolenaar
8e7d6223f6
patch 8.2.2160: various typos
...
Problem: Various typos.
Solution: Fix spelling mistakes. (closes #7494 )
2020-12-18 19:49:56 +01:00
Bram Moolenaar
afe8cf6170
patch 8.2.1803: a few failures are not tested
...
Problem: A few failures are not tested.
Solution: Test a few failures. (Dominique Pellé, closes #7075 )
2020-10-05 20:07:18 +02:00
Bram Moolenaar
531be47ac5
patch 8.2.1736: failure to compile a pattern not tested much
...
Problem: Failure to compile a pattern not tested much.
Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
closes #7004 )
2020-09-23 22:38:05 +02:00
Bram Moolenaar
7b22117c4e
patch 8.2.1472: ":argdel" does not work like ":.argdel" as documented
...
Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
Demin)
Solution: Make ":argdel" work like ":.argdel". (closes #6727 )
Also fix giving the error "0 more files to edit".
2020-08-17 19:34:10 +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
7147820cb9
patch 8.2.1065: Vim9: no line break allowed inside a list
...
Problem: Vim9: no line break allowed inside a list.
Solution: Handle line break inside a list in Vim9 script.
2020-06-26 22:46:27 +02:00
Bram Moolenaar
494e9069cb
patch 8.2.0866: not enough tests for buffer writing
...
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes #6167 )
2020-05-31 21:28:02 +02:00
Bram Moolenaar
6a2c5a7dd5
patch 8.2.0533: tests using term_wait() can still be flaky
...
Problem: Tests using term_wait() can still be flaky.
Solution: Increase the wait time when rerunning a test. (James McCoy,
closes #5899 ) Halve the initial times to make tests run faster
when there is no rerun.
2020-04-08 21:50:25 +02: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
818fc9ad14
patch 8.2.0293: various Ex commands not sufficiently tested
...
Problem: Various Ex commands not sufficiently tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673 )
2020-02-21 17:54:45 +01:00
Bram Moolenaar
406cd90f19
patch 8.2.0275: some Ex code not covered by tests
...
Problem: Some Ex code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes #5659 )
2020-02-18 21:54:41 +01:00
Bram Moolenaar
9f6277bdde
patch 8.2.0243: insufficient code coverage for ex_docmd.c functions
...
Problem: Insufficient code coverage for ex_docmd.c functions.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5618 )
2020-02-11 22:04:02 +01:00
Bram Moolenaar
02b31110d3
patch 8.1.1954: more functions can be used as a method
...
Problem: More functions can be used as a method.
Solution: Allow more functions to be used as a method.
2019-08-31 22:16:38 +02:00
Bram Moolenaar
a8eee21e75
patch 8.1.1924: using empty string for current buffer is unexpected
...
Problem: Using empty string for current buffer is unexpected.
Solution: Make the argument optional for bufname() and bufnr().
2019-08-24 22:14:58 +02:00
Bram Moolenaar
073e4b92e6
patch 8.1.1888: 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-18 23:01:56 +02:00
Bram Moolenaar
72e1b39111
patch 8.1.1796: :argdo is not tested
...
Problem: :argdo is not tested
Solution: Add a test.
2019-08-03 13:50:08 +02:00
Bram Moolenaar
9800bfe0fc
patch 8.1.1760: extra line break for wrapping output of :args
...
Problem: Extra line break for wrapping output of :args.
Solution: Avoid the extra line break. (Daniel Hahler, closes #4737 )
2019-07-27 21:23:45 +02:00
Bram Moolenaar
949f1989cb
patch 8.1.1737: :args command that outputs one line gives more prompt
...
Problem: :args command that outputs one line gives more prompt.
Solution: Only output line break if needed. (Daniel Hahler, closes #4715 )
2019-07-23 23:00:08 +02:00
Bram Moolenaar
3de8c2d1f0
patch 8.1.0653: arglist test fails on MS-windows
...
Problem: Arglist test fails on MS-windows.
Solution: Only use a file name with a double quote on Unix.
2018-12-28 19:29:35 +01:00
Bram Moolenaar
2ac372ccee
patch 8.1.0651: :args \"foo works like :args without argument
...
Problem: :args \"foo works like :args without argument.
Solution: Fix check for empty argument. (closes #3728 )
2018-12-28 19:06:47 +01:00
Bram Moolenaar
b513d3079b
patch 8.1.0559: command line completion not sufficiently tested
...
Problem: Command line completion not sufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes #3622 )
2018-12-02 14:55:08 +01:00
Bram Moolenaar
e6e3989c1b
patch 8.1.0493: argv() and argc() only work on the current argument list
...
Problem: argv() and argc() only work on the current argument list.
Solution: Add a window ID argument. (Yegappan Lakshmanan, closes #832 )
2018-10-25 12:32:11 +02:00
Bram Moolenaar
d339828b4b
patch 8.1.0430: Xargadd file left behind after running test
...
Problem: Xargadd file left behind after running test.
Solution: Delete the file. (Dominique Pelle)
2018-09-24 21:32:11 +02:00
Bram Moolenaar
e961cba3cb
patch 8.1.0404: accessing invalid memory with long argument name
...
Problem: Accessing invalid memory with long argument name.
Solution: Use item_count instead of checking for a terminating NULL.
(Dominique Pelle, closes #3444 )
2018-09-18 21:51:47 +02:00
Bram Moolenaar
32bbd00949
patch 8.1.0341: :argadd in empty buffer changes the buffer name
...
Problem: :argadd in empty buffer changes the buffer name. (Pavol Juhas)
Solution: Don't re-use the current buffer when not going to edit the file.
(closes #3397 ) Do re-use the current buffer for :next.
2018-08-31 23:06:22 +02:00
Bram Moolenaar
46a53dfc29
patch 8.0.1763: :argedit does not reuse an empty unnamed buffer
...
Problem: :argedit does not reuse an empty unnamed buffer.
Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian
Brabandt, closes #2713 )
2018-04-24 21:58:51 +02:00
Bram Moolenaar
5d69da462f
patch 8.0.1738: ":args" output is hard to read
...
Problem: ":args" output is hard to read.
Solution: Make columns with the names if the output is more than one line.
2018-04-20 22:01:41 +02:00
Bram Moolenaar
cf1ba35fc2
patch 8.0.1224: still interference between test functions
...
Problem: Still interference between test functions.
Solution: Clear autocommands. Wipe all buffers. Fix tests that depend on a
specific start context.
2017-10-27 00:55:04 +02:00
Bram Moolenaar
398ee7326b
patch 8.0.0847: :argadd without argument can't handle space in file name
...
Problem: :argadd without argument can't handle space in file name. (Harm te
Hennepe)
Solution: Escape the space. (Yasuhiro Matsumoto, closes #1917 )
2017-08-03 14:29:14 +02:00
Bram Moolenaar
9b50bba643
patch 8.0.0723: arglist test fails if file name case is ignored
...
Problem: Arglist test fails if file name case is ignored.
Solution: Wipe existing buffers, check for fname_case property.
2017-07-16 16:42:13 +02:00
Bram Moolenaar
90305c66a8
patch 8.0.0721: :argedit can only have one argument
...
Problem: :argedit can only have one argument.
Solution: Allow for multiple arguments. (Christian Brabandt)
2017-07-16 15:31:17 +02:00
Bram Moolenaar
8c34aa09a4
patch 8.0.0473: no test covering arg_all()
...
Problem: No test covering arg_all().
Solution: Add a test expanding ##.
2017-03-16 22:52:32 +01:00
Bram Moolenaar
69a92fb5ae
patch 8.0.0439: ":%argdel" gives an error for an empty arglist
...
Problem: Using ":%argdel" while the argument list is already empty gives an
error. (Pavol Juhas)
Solution: Don't give an error. (closes #1546 )
2017-03-09 15:58:30 +01:00
Bram Moolenaar
53f1673cd9
patch 7.4.2343
...
Problem: Too many old file tests.
Solution: Turn several into new style tests. (Yegappan Lakshmanan)
2016-09-07 20:46:39 +02:00
Bram Moolenaar
2faa29f896
patch 7.4.1161
...
Problem: ":argadd" without argument is supposed to add the current buffer
name to the arglist.
Solution: Make it work as documented. (Coot, closes #577 )
2016-01-23 23:02:34 +01:00
Bram Moolenaar
301417041b
patch 7.4.1135
...
Problem: One more arglist test fails on MS-Windows.
Solution: Don't edit "Y" after editing "y".
2016-01-19 14:14:08 +01:00
Bram Moolenaar
82e4184d48
patch 7.4.1134
...
Problem: The arglist test fails on MS-Windows.
Solution: Only check for failure of argedit on Unix.
2016-01-19 13:50:57 +01:00
Bram Moolenaar
99dbe291f5
patch 7.4.1132
...
Problem: Old style tests for the argument list.
Solution: Add more new style tests. (Yegappan Lakshmanan)
2016-01-19 13:07:23 +01:00
Bram Moolenaar
a24f0a550f
patch 7.4.1123
...
Problem: Using ":argadd" when there are no arguments results in the second
argument to be the current one. (Yegappan Lakshmanan)
Solution: Correct the w_arg_idx value.
2016-01-17 19:39:00 +01:00
Bram Moolenaar
72defda84e
patch 7.4.1119
...
Problem: argidx() has a wrong value after ":%argdelete". (Yegappan
Lakshmanan)
Solution: Correct the value of w_arg_idx. Add a test.
2016-01-17 18:04:33 +01:00