summaryrefslogtreecommitdiff
path: root/src/testdir/test_vimscript.vim
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3832: test fails because of changed error messagev8.2.3832Bram Moolenaar2021-12-161-2/+2
| | | | | Problem: Test fails because of changed error message. Solution: Adjust the expected error message.
* patch 8.2.3344: vimscript test failsv8.2.3344Bram Moolenaar2021-08-141-1/+6
| | | | | Problem: Vimscript test fails. Solution: Have test verify first error instead of second
* patch 8.2.3016: confusing error when expression is followed by commav8.2.3016Bram Moolenaar2021-06-171-1/+1
| | | | | Problem: Confusing error when expression is followed by comma. Solution: Give a different error for trailing text. (closes #8395)
* patch 8.2.2969: subtracting from number option fails when result is zerov8.2.2969Bram Moolenaar2021-06-101-0/+9
| | | | | | | Problem: Subtracting from number option fails when result is zero. (Ingo Karkat) Solution: Reset the string value when using the numeric value. (closes #8351)
* patch 8.2.2658: :for cannot loop over a stringv8.2.2658Bram Moolenaar2021-03-261-0/+20
| | | | | Problem: :for cannot loop over a string. Solution: Accept a string argument and iterate over its characters.
* patch 8.2.2621: typval2type() cannot handle recursive structuresv8.2.2621Bram Moolenaar2021-03-181-0/+7
| | | | | Problem: typval2type() cannot handle recursive structures. Solution: Use copyID. (closes #7979)
* patch 8.2.2339: cannot get the type of a value as a stringv8.2.2339Bram Moolenaar2021-01-121-0/+8
| | | | | Problem: Cannot get the type of a value as a string. Solution: Add typename().
* patch 8.2.2160: various typosv8.2.2160Bram Moolenaar2020-12-181-1/+1
| | | | | Problem: Various typos. Solution: Fix spelling mistakes. (closes #7494)
* patch 8.2.2141: a user command with try/catch may not catch an expression errorv8.2.2141Bram Moolenaar2020-12-131-3/+3
| | | | | Problem: A user command with try/catch may not catch an expression error. Solution: When an expression fails check for following "|". (closes #7469)
* patch 8.2.1593: tests do not check the error number properlyv8.2.1593Bram Moolenaar2020-09-041-19/+19
| | | | | Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes #6869)
* patch 8.2.1512: failure after trinary expression failsv8.2.1512Bram Moolenaar2020-08-221-0/+24
| | | | | Problem: Failure after trinary expression fails. Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776)
* patch 8.2.1440: debugger code insufficiently testedv8.2.1440Bram Moolenaar2020-08-131-50/+93
| | | | | Problem: Debugger code insufficiently tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700)
* patch 8.2.1420: test 49 is old stylev8.2.1420Bram Moolenaar2020-08-111-2/+504
| | | | | | Problem: Test 49 is old style. Solution: Convert remaining parts to new style. Remove obsolete items. (Yegappan Lakshmanan, closes #6683)
* patch 8.2.1417: test 49 is old stylev8.2.1417Bram Moolenaar2020-08-101-0/+1981
| | | | | | Problem: Test 49 is old style. Solution: Convert more parts to new style test. (Yegappan Lakshmanan, closes #6682)
* patch 8.2.1383: test 49 is old stylev8.2.1383Bram Moolenaar2020-08-071-0/+1147
| | | | | | Problem: Test 49 is old style. Solution: Convert test cases to new style. (Yegappan Lakshmanan, closes #6638)
* patch 8.2.1366: test 49 is old stylev8.2.1366Bram Moolenaar2020-08-051-91/+1761
| | | | | | Problem: Test 49 is old style. Solution: Convert several tests to new style. (Yegappan Lakshmanan, closes #6629)
* patch 8.2.1106: crash when trying to use s: variable in typed commandv8.2.1106Bram Moolenaar2020-07-011-1/+16
| | | | | | Problem: Crash when trying to use s: variable in typed command. Solution: Don't use the script index when not set. (Ken Takata, closes #6366)
* patch 8.2.0866: not enough tests for buffer writingv8.2.0866Bram Moolenaar2020-05-311-3/+1
| | | | | | Problem: Not enough tests for buffer writing. Solution: Add more tests. Use CheckRunVimInTerminal in more places. (Yegappan Lakshmanan, closes #6167)
* patch 8.2.0634: crash with null partial and blobv8.2.0634Bram Moolenaar2020-04-251-0/+12
| | | | | | Problem: Crash with null partial and blob. Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan, closes #5984)
* patch 8.2.0619: null dict is not handled like an empty dictv8.2.0619Bram Moolenaar2020-04-231-0/+17
| | | | | Problem: Null dict is not handled like an empty dict. Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
* patch 8.2.0610: some tests are still old stylev8.2.0610Bram Moolenaar2020-04-201-0/+80
| | | | | Problem: Some tests are still old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
* patch 8.2.0602: :unlet $VAR does not work properlyv8.2.0602Bram Moolenaar2020-04-191-0/+14
| | | | | Problem: :unlet $VAR does not work properly. Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
* patch 8.2.0551: not all code for options is testedv8.2.0551Bram Moolenaar2020-04-121-0/+4
| | | | | Problem: Not all code for options is tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5913)
* patch 8.2.0533: tests using term_wait() can still be flakyv8.2.0533Bram Moolenaar2020-04-081-6/+6
| | | | | | | 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.
* patch 8.2.0531: various errors not testedv8.2.0531Bram Moolenaar2020-04-081-160/+0
| | | | | Problem: Various errors not tested. Solution: Add tests. (Yegappan Lakshmanan, closes #5895)
* patch 8.2.0522: several errors are not tested forv8.2.0522Bram Moolenaar2020-04-061-0/+23
| | | | | Problem: Several errors are not tested for. Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
* patch 8.2.0418: code in eval.c not sufficiently covered by testsv8.2.0418Bram Moolenaar2020-03-201-0/+16
| | | | | Problem: Code in eval.c not sufficiently covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
* patch 8.2.0401: not enough test coverage for evalvars.cv8.2.0401Bram Moolenaar2020-03-181-0/+3
| | | | | Problem: Not enough test coverage for evalvars.c. Solution: Add more tests. (Yegappan Lakshmanan, closes #5804)
* patch 8.2.0331: internal error when using test_void() and test_unknown()v8.2.0331Bram Moolenaar2020-02-291-0/+2
| | | | | | Problem: Internal error when using test_void() and test_unknown(). (Dominique Pelle) Solution: Give a normal error.
* patch 8.2.0293: various Ex commands not sufficiently testedv8.2.0293Bram Moolenaar2020-02-211-0/+23
| | | | | Problem: Various Ex commands not sufficiently tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673)
* patch 8.2.0271: the "num64" feature is available everywherev8.2.0271Bram Moolenaar2020-02-171-19/+3
| | | | | | Problem: The "num64" feature is available everywhere and building without it causes problems. Solution: Graduage the "num64" feature. (James McCoy, closes #5650)
* patch 8.2.0270: some code not covered by testsv8.2.0270Bram Moolenaar2020-02-171-0/+10
| | | | | Problem: Some code not covered by tests. Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
* patch 8.2.0243: insufficient code coverage for ex_docmd.c functionsv8.2.0243Bram Moolenaar2020-02-111-0/+86
| | | | | Problem: Insufficient code coverage for ex_docmd.c functions. Solution: Add more tests. (Yegappan Lakshmanan, closes #5618)
* patch 8.2.0183: tests fail when the float feature is disabledv8.2.0183Bram Moolenaar2020-01-301-25/+39
| | | | | Problem: Tests fail when the float feature is disabled. Solution: Skip tests that don't work without float support.
* patch 8.2.0078: expanding <sfile> works differently the second timev8.2.0078Bram Moolenaar2020-01-021-0/+17
| | | | | Problem: Expanding <sfile> works differently the second time. Solution: Keep the expanded name when redefining a function. (closes #5425)
* patch 8.1.2272: test may hang at more promptv8.1.2272Bram Moolenaar2019-11-081-1/+1
| | | | | Problem: Test may hang at more prompt. Solution: Reset 'more' after resetting 'compatible'. (Michael Soyka)
* patch 8.1.2246: some tests are still in old stylev8.1.2246Bram Moolenaar2019-11-031-1/+195
| | | | | Problem: Some tests are still in old style. Solution: Change a few tests to new style. (Yegappan Lakshmanan)
* patch 8.1.2011: more functions can be used as methodsv8.1.2011Bram Moolenaar2019-09-081-1/+1
| | | | | | Problem: More functions can be used as methods. Solution: Make various functions usable as a method. Make the window command test faster.
* patch 8.1.1921: more functions can be used as methodsv8.1.1921Bram Moolenaar2019-08-241-1/+1
| | | | | Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
* patch 8.1.1888: more functions can be used as methodsv8.1.1888Bram Moolenaar2019-08-181-0/+4
| | | | | Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
* patch 8.1.1846: inconsistently using GetVimCommand() and v:progpathv8.1.1846Bram Moolenaar2019-08-141-1/+2
| | | | | | Problem: Inconsistently using GetVimCommand() and v:progpath. (Daniel Hahler) Solution: Use GetVimCommand(). (closes #4806)
* patch 8.1.1826: tests use hand coded feature and option checksv8.1.1826Bram Moolenaar2019-08-071-4/+3
| | | | | Problem: Tests use hand coded feature and option checks. Solution: Use the commands from check.vim in more tests.
* patch 8.1.1625: script line numbers are not exactly rightv8.1.1625Bram Moolenaar2019-07-041-0/+70
| | | | | | Problem: Script line numbers are not exactly right. Solution: Handle heredoc and continuation lines better. (Ozaki Kiichi, closes #4611, closes #4511)
* patch 8.1.1591: on error garbage collection may free memory in usev8.1.1591Bram Moolenaar2019-06-251-1/+1
| | | | | | Problem: On error garbage collection may free memory in use. Solution: Reset may_garbage_collect when evaluating expression mapping. Add tests. (Ozaki Kiichi, closes #4579)
* patch 8.1.1563: crash when using closuresv8.1.1563Bram Moolenaar2019-06-171-0/+11
| | | | | | Problem: Crash when using closures. Solution: Set reference in varlist of funccal when running the garbage collector. (Ozaki Kiichi, closes #4554, closes #4547)
* patch 8.1.1382: error when editing test filev8.1.1382Bram Moolenaar2019-05-241-1/+0
| | | | | Problem: Error when editing test file. Solution: Remove part of modeline.
* patch 8.1.1044: no way to check the reference count of objectsv8.1.1044Bram Moolenaar2019-03-231-0/+109
| | | | | Problem: No way to check the reference count of objects. Solution: Add test_refcount(). (Ozaki Kiichi, closes #4124)
* patch 8.1.0990: floating point exception with "%= 0" and "/= 0"v8.1.0990Bram Moolenaar2019-03-021-1/+38
| | | | | Problem: Floating point exception with "%= 0" and "/= 0". Solution: Avoid dividing by zero. (Dominique Pelle, closes #4058)
* patch 8.1.0902: incomplete set of assignment operatorsv8.1.0902Bram Moolenaar2019-02-121-0/+78
| | | | | Problem: Incomplete set of assignment operators. Solution: Add /=, *= and %=. (Ozaki Kiichi, closes #3931)
* patch 8.1.0711: test files still use function!v8.1.0711Bram Moolenaar2019-01-091-58/+58
| | | | | Problem: Test files still use function!. Solution: Remove the exclamation mark. Fix overwriting a function.