| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Test fails because of changed error message.
Solution: Adjust the expected error message.
|
|
|
|
|
| |
Problem: Vimscript test fails.
Solution: Have test verify first error instead of second
|
|
|
|
|
| |
Problem: Confusing error when expression is followed by comma.
Solution: Give a different error for trailing text. (closes #8395)
|
|
|
|
|
|
|
| |
Problem: Subtracting from number option fails when result is zero. (Ingo
Karkat)
Solution: Reset the string value when using the numeric value.
(closes #8351)
|
|
|
|
|
| |
Problem: :for cannot loop over a string.
Solution: Accept a string argument and iterate over its characters.
|
|
|
|
|
| |
Problem: typval2type() cannot handle recursive structures.
Solution: Use copyID. (closes #7979)
|
|
|
|
|
| |
Problem: Cannot get the type of a value as a string.
Solution: Add typename().
|
|
|
|
|
| |
Problem: Various typos.
Solution: Fix spelling mistakes. (closes #7494)
|
|
|
|
|
| |
Problem: A user command with try/catch may not catch an expression error.
Solution: When an expression fails check for following "|". (closes #7469)
|
|
|
|
|
| |
Problem: Tests do not check the error number properly.0
Solution: Add a colon after the error number. (closes #6869)
|
|
|
|
|
| |
Problem: Failure after trinary expression fails.
Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776)
|
|
|
|
|
| |
Problem: Debugger code insufficiently tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700)
|
|
|
|
|
|
| |
Problem: Test 49 is old style.
Solution: Convert remaining parts to new style. Remove obsolete items.
(Yegappan Lakshmanan, closes #6683)
|
|
|
|
|
|
| |
Problem: Test 49 is old style.
Solution: Convert more parts to new style test. (Yegappan Lakshmanan,
closes #6682)
|
|
|
|
|
|
| |
Problem: Test 49 is old style.
Solution: Convert test cases to new style. (Yegappan Lakshmanan,
closes #6638)
|
|
|
|
|
|
| |
Problem: Test 49 is old style.
Solution: Convert several tests to new style. (Yegappan Lakshmanan,
closes #6629)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes #6167)
|
|
|
|
|
|
| |
Problem: Crash with null partial and blob.
Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
closes #5984)
|
|
|
|
|
| |
Problem: Null dict is not handled like an empty dict.
Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
|
|
|
|
|
| |
Problem: Some tests are still old style.
Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
|
|
|
|
|
| |
Problem: :unlet $VAR does not work properly.
Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
|
|
|
|
|
| |
Problem: Not all code for options is tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5913)
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Various errors not tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #5895)
|
|
|
|
|
| |
Problem: Several errors are not tested for.
Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
|
|
|
|
|
| |
Problem: Code in eval.c not sufficiently covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
|
|
|
|
|
| |
Problem: Not enough test coverage for evalvars.c.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5804)
|
|
|
|
|
|
| |
Problem: Internal error when using test_void() and test_unknown().
(Dominique Pelle)
Solution: Give a normal error.
|
|
|
|
|
| |
Problem: Various Ex commands not sufficiently tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673)
|
|
|
|
|
|
| |
Problem: The "num64" feature is available everywhere and building without
it causes problems.
Solution: Graduage the "num64" feature. (James McCoy, closes #5650)
|
|
|
|
|
| |
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
|
|
|
|
|
| |
Problem: Insufficient code coverage for ex_docmd.c functions.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5618)
|
|
|
|
|
| |
Problem: Tests fail when the float feature is disabled.
Solution: Skip tests that don't work without float support.
|
|
|
|
|
| |
Problem: Expanding <sfile> works differently the second time.
Solution: Keep the expanded name when redefining a function. (closes #5425)
|
|
|
|
|
| |
Problem: Test may hang at more prompt.
Solution: Reset 'more' after resetting 'compatible'. (Michael Soyka)
|
|
|
|
|
| |
Problem: Some tests are still in old style.
Solution: Change a few tests to new style. (Yegappan Lakshmanan)
|
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method. Make the window
command test faster.
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
|
|
|
|
|
|
| |
Problem: Inconsistently using GetVimCommand() and v:progpath. (Daniel
Hahler)
Solution: Use GetVimCommand(). (closes #4806)
|
|
|
|
|
| |
Problem: Tests use hand coded feature and option checks.
Solution: Use the commands from check.vim in more tests.
|
|
|
|
|
|
| |
Problem: Script line numbers are not exactly right.
Solution: Handle heredoc and continuation lines better. (Ozaki Kiichi,
closes #4611, closes #4511)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
Problem: Crash when using closures.
Solution: Set reference in varlist of funccal when running the garbage
collector. (Ozaki Kiichi, closes #4554, closes #4547)
|
|
|
|
|
| |
Problem: Error when editing test file.
Solution: Remove part of modeline.
|
|
|
|
|
| |
Problem: No way to check the reference count of objects.
Solution: Add test_refcount(). (Ozaki Kiichi, closes #4124)
|
|
|
|
|
| |
Problem: Floating point exception with "%= 0" and "/= 0".
Solution: Avoid dividing by zero. (Dominique Pelle, closes #4058)
|
|
|
|
|
| |
Problem: Incomplete set of assignment operators.
Solution: Add /=, *= and %=. (Ozaki Kiichi, closes #3931)
|
|
|
|
|
| |
Problem: Test files still use function!.
Solution: Remove the exclamation mark. Fix overwriting a function.
|