Bram Moolenaar
9d48956681
patch 8.2.1326: Vim9: skipping over white space after list
...
Problem: Vim9: skipping over white space after list.
Solution: Do not skip white space, a following [] would be misinterpreted.
(closes #6552 ) Fix a few side effects.
2020-07-30 20:08:50 +02:00
Bram Moolenaar
9b7bf9e98f
patch 8.2.1183: assert_fails() checks the last error message
...
Problem: assert_fails() checks the last error message.
Solution: Check the first error, it is more relevant. Fix all the tests
that rely on the old behavior.
2020-07-11 22:14:59 +02:00
Bram Moolenaar
bdd2c290d3
patch 8.2.1040: not enough testing for movement commands
...
Problem: Not enough testing for movement commands.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6313 )
2020-06-22 21:34:30 +02:00
Bram Moolenaar
e17f8817a1
patch 8.2.0995: insufficient testing for the readdir() sort option
...
Problem: Insufficient testing for the readdir() sort option.
Solution: Add a few more tests. (Christian Brabandt, closes #6278 )
2020-06-17 20:30:44 +02:00
Bram Moolenaar
a1bc6f1293
patch 8.2.0990: Using duplicate error number
...
Problem: Using duplicate error number.
Solution: Use an unused error number. Add a test for it.
2020-06-16 22:27:39 +02:00
Bram Moolenaar
84cf6bd81b
patch 8.2.0988: getting directory contents is always case sorted
...
Problem: Getting directory contents is always case sorted.
Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229 )
2020-06-16 20:03:43 +02:00
Bram Moolenaar
c70222d12a
patch 8.2.0986: MS-Windows: functions test fails
...
Problem: MS-Windows: functions test fails.
Solution: Only simplify ///path on Unix.
2020-06-15 23:18:12 +02:00
Bram Moolenaar
fdcbe3c3fe
patch 8.2.0985: simplify() does not remove slashes from "///path"
...
Problem: Simplify() does not remove slashes from "///path".
Solution: Reduce > 2 slashes to one. (closes #6263 )
2020-06-15 21:41:56 +02:00
Bram Moolenaar
ea1233fccf
patch 8.2.0949: strptime() does not use DST
...
Problem: Strptime() does not use DST.
Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230 )
2020-06-10 16:54:13 +02:00
Bram Moolenaar
ab54032f29
patch 8.2.0947: readdirex() doesn't handle broken link properly
...
Problem: Readdirex() doesn't handle broken link properly.
Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226 ,
closes #6213 )
2020-06-10 15:55:36 +02:00
Bram Moolenaar
eebd555733
patch 8.2.0946: cannot use "q" to cancel a number prompt
...
Problem: Cannot use "q" to cancel a number prompt.
Solution: Recognize "q" instead of ignoring it.
2020-06-10 15:45:57 +02:00
Bram Moolenaar
441d60efd8
patch 8.2.0888: readdirex() returns size -2 for a directory
...
Problem: Readdirex() returns size -2 for a directory.
Solution: Add missing "else". (Ken Takata, closes #6185 )
2020-06-02 22:19:50 +02:00
Bram Moolenaar
c17e66c5c0
patch 8.2.0886: cannot use octal numbers in scriptversion 4
...
Problem: Cannot use octal numbers in scriptversion 4.
Solution: Add the "0o" notation. (Ken Takata, closes #5304 )
2020-06-02 21:38:22 +02:00
Bram Moolenaar
6c9ba04280
patch 8.2.0875: getting attributes for directory entries is slow
...
Problem: Getting attributes for directory entries is slow.
Solution: Add readdirex(). (Ken Takata, closes #5619 )
2020-06-01 16:09:41 +02:00
Bram Moolenaar
2245ae18e3
patch 8.2.0868: trim() always trims both ends
...
Problem: trim() always trims both ends.
Solution: Add an argument to only trim the beginning or end. (Yegappan
Lakshmanan, closes #6126 )
2020-05-31 22:20:36 +02:00
Bram Moolenaar
95da136142
patch 8.2.0850: MS-Windows: exepath() works different from cmd.exe
...
Problem: MS-Windows: exepath() works different from cmd.exe.
Solution: Make exepath() work better on MS-Windows. (closes #6115 )
2020-05-30 18:37:55 +02:00
Bram Moolenaar
041c7107f2
patch 8.2.0849: BeOS code is not maintained and probably unused
...
Problem: BeOS code is not maintained and probably unused.
Solution: Remove the BeOS code. (Emir Sari, closes #5817 )
2020-05-30 18:14:57 +02:00
Bram Moolenaar
1919371b2b
patch 8.2.0824: still not enough memory allocated when converting string
...
Problem: Still not enough memory allocated when converting string with
special character.
Solution: Reserve space for expanding K_SPECIAL. (closes #6130 )
2020-05-25 23:01:42 +02:00
Bram Moolenaar
f7271e8316
patch 8.2.0817: not enough memory allocated when converting string
...
Problem: Not enough memory allocated when converting string with special
character.
Solution: Reserve space for modifier code. (closes #6130 )
2020-05-24 18:45:07 +02:00
Bram Moolenaar
0ff5dedf0f
patch 8.2.0712: various code not fully tested
...
Problem: Various code not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049 )
2020-05-07 18:43:44 +02:00
Bram Moolenaar
99fa721944
patch 8.2.0644: insufficient testing for invalid function arguments
...
Problem: Insufficient testing for invalid function arguments.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5988 )
2020-04-26 15:59:55 +02:00
Bram Moolenaar
92b83ccfda
patch 8.2.0634: crash with null partial and blob
...
Problem: Crash with null partial and blob.
Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
closes #5984 )
2020-04-25 15:24:44 +02:00
Bram Moolenaar
9d8d0b5c64
patch 8.2.0633: crash when using null partial in filter()
...
Problem: Crash when using null partial in filter().
Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976 )
2020-04-24 22:47:31 +02:00
Bram Moolenaar
ad48e6c159
patch 8.2.0615: regexp benchmark stest is old style
...
Problem: Regexp benchmark stest is old style.
Solution: Make it a new style test. Fix using a NULL list. Add more tests.
(Yegappan Lakshmanan, closes #5963 )
2020-04-21 22:19:45 +02:00
Bram Moolenaar
08f4157c5c
patch 8.2.0610: some tests are still old style
...
Problem: Some tests are still old style.
Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957 )
2020-04-20 16:50:00 +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
7035fd9d90
patch 8.2.0532: cannot use simplify() as a method
...
Problem: Cannot use simplify() as a method.
Solution: Add FEARG_1. (closes #5996 )
2020-04-08 20:03:52 +02:00
Bram Moolenaar
ee4e0c1e9a
patch 8.2.0522: several errors are not tested for
...
Problem: Several errors are not tested for.
Solution: Add tests. (Yegappan Lakshmanan, closes #5892 )
2020-04-06 21:35:05 +02:00
Bram Moolenaar
cde0ff39da
patch 8.2.0509: various code is not properly tested.
...
Problem: various code is not properly tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5871 )
2020-04-04 14:00:39 +02:00
Bram Moolenaar
5259275347
patch 8.2.0507: getbufvar() may get the wrong dictionary
...
Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
Solution: Check for empty name. (closes #5878 )
2020-04-03 18:43:35 +02:00
Bram Moolenaar
3ed9efc2b1
patch 8.2.0454: some tests fail when the system is slow
...
Problem: Some tests fail when the system is slow.
Solution: Make the run number global, use in the test to increase the
waiting time. (closes #5841 )
2020-03-26 16:50:57 +01:00
Bram Moolenaar
0e05de4622
patch 8.2.0448: various functions not properly tested
...
Problem: Various functions not properly tested.
Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
closes #5843 )
2020-03-25 22:23:46 +01:00
Bram Moolenaar
7929651e05
patch 8.2.0427: it is not possible to check for a typo in a feature name
...
Problem: It is not possible to check for a typo in a feature name.
Solution: Add an extra argument to has().
2020-03-22 16:17:14 +01:00
Bram Moolenaar
8b63313510
patch 8.2.0418: code in eval.c not sufficiently covered by tests
...
Problem: Code in eval.c not sufficiently covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5815 )
2020-03-20 18:20:51 +01:00
Bram Moolenaar
8dfcce3a78
patch 8.2.0401: not enough test coverage for evalvars.c
...
Problem: Not enough test coverage for evalvars.c.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5804 )
2020-03-18 19:32:26 +01:00
Bram Moolenaar
dd58923c6b
patch 8.2.0334: abort called when using test_void()
...
Problem: Abort called when using test_void(). (Dominique Pelle)
Solution: Only give an error, don't abort.
2020-02-29 17:38:12 +01:00
Bram Moolenaar
7c215c5893
patch 8.2.0331: internal error when using test_void() and test_unknown()
...
Problem: Internal error when using test_void() and test_unknown().
(Dominique Pelle)
Solution: Give a normal error.
2020-02-29 13:43:27 +01:00
Bram Moolenaar
578fe947e3
patch 8.2.0325: ex_getln.c code not covered by tests
...
Problem: Ex_getln.c code not covered by tests.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5702 )
2020-02-27 21:32:51 +01:00
Bram Moolenaar
8d588ccee5
patch 8.2.0316: ex_getln.c code has insufficient test coverage
...
Problem: ex_getln.c code has insufficient test coverage.
Solution: Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693 )
2020-02-25 21:47:45 +01:00
Bram Moolenaar
4132eb505c
patch 8.2.0258: modifyOtherKeys cannot be temporarily disabled
...
Problem: ModifyOtherKeys cannot be temporarily disabled.
Solution: Add echoraw() with an example for modifyOtherKeys.
2020-02-14 16:53:00 +01:00
Bram Moolenaar
94255df057
patch 8.2.0211: test for ANSI colors fails without an "ls" command
...
Problem: Test for ANSI colors fails without an "ls" command.
Solution: Use "dir". (Ken Takata, closes #5582 )
2020-02-05 20:10:33 +01:00
Bram Moolenaar
705724e430
patch 8.2.0186: a couple of tests may fail when features are missing
...
Problem: A couple of tests may fail when features are missing.
Solution: Check for features. (Dominique Pelle, closes #5561 )
2020-01-31 21:13:42 +01:00
Bram Moolenaar
5feabe00c4
patch 8.2.0183: tests fail when the float feature is disabled
...
Problem: Tests fail when the float feature is disabled.
Solution: Skip tests that don't work without float support.
2020-01-30 18:24:53 +01:00
Bram Moolenaar
b09920203a
patch 8.2.0179: still a few places where range() does not work
...
Problem: Still a few places where range() does not work.
Solution: Fix using range() causing problems.
2020-01-30 14:55:42 +01:00
Bram Moolenaar
272ca95fc3
patch 8.2.0163: test hangs on MS-Windows console
...
Problem: Test hangs on MS-Windows console.
Solution: use feedkeys() instead of test_feedinput(). (Ken Takata)
2020-01-28 20:49:11 +01:00
Bram Moolenaar
7d8ea0b241
patch 8.2.0162: balloon test fails in the GUI
...
Problem: Balloon test fails in the GUI.
Solution: Skip test in the GUI.
2020-01-27 23:01:30 +01:00
Bram Moolenaar
50985eb1f0
patch 8.2.0159: non-materialized range() list causes problems
...
Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
Solution: Materialize the list where needed.
2020-01-27 22:09:39 +01:00
Bram Moolenaar
9a838fe543
patch 8.1.2398: strptime() test fails on Japanese Mac
...
Problem: strptime() test fails on Japanese Mac.
Solution: Use %T instead of %X.
2019-12-06 12:45:01 +01:00
Bram Moolenaar
10455d43fe
patch 8.1.2326: cannot parse a date/time string
...
Problem: Cannot parse a date/time string.
Solution: Add strptime(). (Stephen Wall, closes #)
2019-11-21 15:36:18 +01:00
Bram Moolenaar
db3a205147
patch 8.1.2304: cannot get the mouse position when getting a mouse click
...
Problem: Cannot get the mouse position when getting a mouse click.
Solution: Add getmousepos().
2019-11-16 18:22:41 +01:00