Bram Moolenaar
ddd815ba2a
patch 8.2.4239: build fails with unusual configuration
...
Problem: Build fails with unusual configuration.
Solution: Adjust #ifdef. (closes #9651 )
2022-01-28 14:39:58 +00:00
Bram Moolenaar
b3d83980d2
patch 8.2.4234: test_garbagecollect_now() does not check v:testing
...
Problem: test_garbagecollect_now() does not check v:testing as documented.
Solution: Give an error if v:testing is not set.
2022-01-27 19:59:47 +00:00
Yegappan Lakshmanan
b0ad2d92fd
patch 8.2.4228: no tests for clicking in the GUI tabline
...
Problem: No tests for clicking in the GUI tabline.
Solution: Add test functions to generate the events. Add tests using the
functions. (Yegappan Lakshmanan, closes #9638 )
2022-01-27 13:16:59 +00:00
ichizok
ae1bd87fe8
patch 8.2.4157: terminal test fails because Windows sets the title
...
Problem: Terminal test fails because Windows sets the title.
Solution: Add the "vterm_title" testing override and use it in the test.
(Ozaki Kiichi, closes #9556 )
2022-01-20 14:57:29 +00:00
Bram Moolenaar
3e4fa3d7d3
patch 8.2.4087: cannot test items from an autoload script easily
...
Problem: Cannot test items from an autoload script easily.
Solution: Add the "autoload" value for test_override().
2022-01-13 22:05:09 +00:00
Bram Moolenaar
d9d2fd0aa3
patch 8.2.4086: "cctx" argument of find_func_even_dead() is unused
...
Problem: "cctx" argument of find_func_even_dead() is unused.
Solution: Remove the argument.
2022-01-13 21:15:21 +00:00
Bram Moolenaar
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Yegappan Lakshmanan
4490ec4e83
patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
...
Problem: Vim9: runtime and compile time type checks are not the same.
Solution: Add more runtime type checks for builtin functions. (Yegappan
Lakshmanan, closes #8646 )
2021-07-27 22:00:44 +02:00
Yegappan Lakshmanan
a764e73d4f
patch 8.2.3221: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632 )
2021-07-25 15:57:32 +02:00
Yegappan Lakshmanan
5bca906b30
patch 8.2.3215: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. Sort the argument lists.
(Yegappan Lakshmanan, closes #8626 )
2021-07-24 21:33:26 +02:00
Yegappan Lakshmanan
83494b4ac6
patch 8.2.3188: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks, also at runtime. (Yegappan
Lakshmanan, closes #8587 )
2021-07-20 17:51:51 +02:00
Yegappan Lakshmanan
1a71d31bf3
patch 8.2.3162: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560 )
2021-07-15 12:49:58 +02:00
Yegappan Lakshmanan
c72bdd28ac
patch 8.2.3150: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8545 )
2021-07-11 19:44:18 +02:00
Yegappan Lakshmanan
5b73992d8f
patch 8.2.3135: Vim9: builtin function arguments not checked at compile time
...
Problem: Vim9: builtin function arguments not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539 )
2021-07-10 13:15:41 +02:00
Bram Moolenaar
1d1ce613cd
patch 8.2.3067: building fails with Athena
...
Problem: Building fails with Athena. (Elimar Riesebieter)
Solution: Adjust #ifdefs and add the 'drop_file' feature.
2021-06-27 19:02:52 +02:00
Yegappan Lakshmanan
18d46587b9
patch 8.2.3040: GUI: dropping files not tested
...
Problem: GUI: dropping files not tested.
Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan,
closes #8434 )
2021-06-23 20:46:52 +02:00
Yegappan Lakshmanan
7237cab8f1
patch 8.2.3036: Vim9: builtin function arguments not checked at compile time
...
Problem: Vim9: builtin function arguments not checked at compile time.
Solution: Add more argument type specs. Check arguments to test_setmouse()
and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425 )
2021-06-22 19:52:27 +02:00
Yegappan Lakshmanan
f1e7449d56
patch 8.2.3028: GUI mouse events not tested
...
Problem: GUI mouse events not tested.
Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few
viminfo tests. (Yegappan Lakshmanan, closes #8407 )
2021-06-21 18:44:26 +02:00
Bram Moolenaar
f18332fb9e
patch 8.2.2842: Vim9: skip argument to searchpair() is not compiled
...
Problem: Vim9: skip argument to searchpair() is not compiled.
Solution: Add VAR_INSTR.
2021-05-07 17:55:55 +02:00
Bram Moolenaar
5b8cabfef7
patch 8.2.2694: when 'matchpairs' is empty every character beeps
...
Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
Solution: Bail out when no character in 'matchpairs' was found.
(closes #8053 ) Add assert_nobeep().
2021-04-02 18:55:57 +02:00
Bram Moolenaar
f52f0606ed
patch 8.2.2586: process id may be invalid
...
Problem: Process id may be invalid.
Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
van der Sanden, closes #7947 )
2021-03-10 21:26:37 +01:00
Bram Moolenaar
631e8f9345
patch 8.2.1953: Vim9: extra "unknown" error after other error
...
Problem: Vim9: extra "unknown" error after other error.
Solution: Restore did_emsg count after EXEC instruction. (closes #7254 )
Improve error message from assert_fails()
2020-11-04 15:07:16 +01:00
Bram Moolenaar
28ee892ac4
patch 8.2.1919: assert_fails() setting emsg_silent changes normal execution
...
Problem: Assert_fails() setting emsg_silent changes normal execution.
Solution: Use a separate flag in_assert_fails.
2020-10-28 20:20:00 +01:00
Bram Moolenaar
4f25b1aba0
patch 8.2.1653: expand('<stack>') does not include the final line number
...
Problem: Expand('<stack>') does not include the final line number.
Solution: Add the line nuber. (closes #6927 )
2020-09-10 19:25:05 +02:00
Bram Moolenaar
44d6652d56
patch 8.2.1632: not checking the context of test_fails()
...
Problem: Not checking the context of test_fails().
Solution: Add the line number and context arguments. Give error if
assert_fails() argument types are wrong.
2020-09-06 22:26:57 +02:00
Bram Moolenaar
9bd5d879c2
patch 8.2.1631: test_fails() does not check the context of the line number
...
Problem: test_fails() does not check the context of the line number.
Solution: Use another argument to specify the context of the line number.
2020-09-06 21:47:48 +02:00
Bram Moolenaar
9b02d64cff
patch 8.2.1484: flaky failure in assert_fails()
...
Problem: Flaky failure in assert_fails().
Solution: Only used fourth argument if there is a third argument.
2020-08-18 23:24:13 +02:00
Bram Moolenaar
1d634542cf
patch 8.2.1479: Vim9: error for list index uses wrong line number
...
Problem: Vim9: error for list index uses wrong line number.
Solution: Set source line number. (closes #6724 ) Add a way to assert the
line number of the error with assert_fails().
2020-08-18 13:41:50 +02:00
Bram Moolenaar
a5d0423fa1
patch 8.2.1297: when a test fails it's often not easy to see where
...
Problem: When a test fails it's often not easy to see what the call stack
is.
Solution: Add more entries from the call stack in the exception message.
2020-07-26 15:37:02 +02:00
Bram Moolenaar
7177da9dd4
patch 8.2.1199: not all assert functions are fully tested
...
Problem: Not all assert functions are fully tested.
Solution: Test more assert functions.
2020-07-12 23:09:20 +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
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
0c0eddd3dd
patch 8.2.0970: terminal properties are not available in Vim script
...
Problem: Terminal properties are not available in Vim script.
Solution: Add the terminalprops() function.
2020-06-13 15:47:25 +02:00
Bram Moolenaar
4a021dfbee
patch 8.2.0969: assert_equal() output for dicts is hard to figure out
...
Problem: Assert_equal() output for dicts is hard to figure out.
Solution: Only show the different items.
2020-06-13 15:13:38 +02:00
Bram Moolenaar
30cc44a97f
patch 8.2.0899: assert_equalfile() does not give a hint about the difference
...
Problem: Assert_equalfile() does not give a hint about the difference.
Solution: Display the last seen text.
2020-06-04 16:52:40 +02:00
Bram Moolenaar
fb517bac23
patch 8.2.0893: assert_equalfile() does not take a third argument
...
Problem: Assert_equalfile() does not take a third argument.
Solution: Implement the third argument. (Gary Johnson)
2020-06-03 19:55:35 +02:00
Bram Moolenaar
4c17ad94ec
patch 8.2.0650: Vim9: script function can be deleted
...
Problem: Vim9: script function can be deleted.
Solution: Disallow deleting script function. Delete functions when sourcing
a script again.
2020-04-27 22:47:51 +02:00
Bram Moolenaar
4c68375057
patch 8.2.0517: Vim9: cannot separate "func" and "func(): void"
...
Problem: Vim9: cannot separate "func" and "func(): void".
Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
2020-04-05 21:38:23 +02:00
Bram Moolenaar
e69f6d044c
patch 8.2.0493: Vim9: some error messages not tested
...
Problem: Vim9: some error messages not tested.
Solution: Add more tests. Fix uncovered bugs.
2020-04-01 22:11:01 +02:00
Bram Moolenaar
8ed04587d3
patch 8.2.0299: Vim9: ISN_STORE with argument not tested
...
Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool()
not tested.
Solution: Add tests. Add test_unknown() and test_void().
2020-02-22 19:07:28 +01:00
Bram Moolenaar
4f5776c17c
patch 8.2.0250: test_clear_search_pat() is unused
...
Problem: test_clear_search_pat() is unused.
Solution: Remove the function. (Yegappan Lakshmanan, closes #5624 )
2020-02-12 22:15:19 +01:00
Bram Moolenaar
07ada5ff2f
patch 8.2.0212: missing search/substitute pattern hardly tested
...
Problem: Missing search/substitute pattern hardly tested.
Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
closes #5579 )
2020-02-05 20:38:22 +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
8a7d6542b3
patch 8.2.0149: maintaining a Vim9 branch separately is more work
...
Problem: Maintaining a Vim9 branch separately is more work.
Solution: Merge the Vim9 script changes.
2020-01-26 15:56:19 +01:00
Bram Moolenaar
9b4a15d5db
patch 8.2.0111: VAR_SPECIAL is also used for booleans
...
Problem: VAR_SPECIAL is also used for booleans.
Solution: Add VAR_BOOL for better type checking.
2020-01-11 16:05:23 +01:00
Bram Moolenaar
1a47ae32cd
patch 8.2.0056: execution stack is incomplete and inefficient
...
Problem: Execution stack is incomplete and inefficient.
Solution: Introduce a proper execution stack and use it instead of
sourcing_name/sourcing_lnum. Create a string only when used.
2019-12-29 23:04:25 +01:00
Bram Moolenaar
53989554a4
patch 8.2.0035: saving and restoring called_emsg is clumsy
...
Problem: Saving and restoring called_emsg is clumsy.
Solution: Count the number of error messages.
2019-12-23 22:59:18 +01:00
Bram Moolenaar
0d6f5d9740
patch 8.1.2395: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-05 21:33:15 +01:00
Bram Moolenaar
a1cb1d1dce
patch 8.1.2171: mouse support not always available
...
Problem: Mouse support not always available.
Solution: Enable mouse support also in tiny version. Do not define
FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
2019-10-17 23:00:07 +02:00