| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Startup test fails.
Solution: Adjust expected values for deleted lines.
|
|
|
|
|
|
| |
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes #6167)
|
|
|
|
|
| |
Problem: Startup test fails on MS-Windows.
Solution: Allow for any path.
|
|
|
|
|
| |
Problem: Startup test fails.
Solution: Adjust expected output from -V2 argument.
|
|
|
|
|
|
|
| |
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 code is not properly tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5871)
|
|
|
|
|
| |
Problem: Cannot build with +popupwin but without +quickfix. (John Marriott)
Solution: Adjust #ifdefs.
|
|
|
|
|
| |
Problem: Cannot get the Vim command line arguments.
Solution: Add v:argv. (Dmitri Vereshchagin, closes #1322)
|
|
|
|
|
| |
Problem: MS-Windows: shell commands fail if &shell contains a space.
Solution: Use quotes instead of escaping. (closes #4920)
|
|
|
|
|
| |
Problem: Tests use hand coded feature and option checks.
Solution: Use the commands from check.vim in more tests.
|
|
|
|
|
| |
Problem: In :let-heredoc line continuation is recognized.
Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580)
|
|
|
|
|
| |
Problem: Skipped tests are not properly listed.
Solution: Throw a "Skipped" exception instead of using ":finish" or ":return".
|
|
|
|
|
| |
Problem: Error when the drive of the swap file was disconnected.
Solution: Try closing and re-opening the swap file. (closes #4378)
|
|
|
|
|
| |
Problem: Code and data in tests can be hard to read.
Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes #4400)
|
|
|
|
|
| |
Problem: Invalid argument test fails without X clipboard.
Solution: Test -display only with the +xterm_clipboard feature.
|
|
|
|
|
| |
Problem: Invalid argument test fails without GTK.
Solution: Test -display and --display separately.
|
|
|
|
|
| |
Problem: Crash when using invalid command line argument.
Solution: Check for options not being initialized.
|
|
|
|
|
| |
Problem: Invalid command line arguments not tested.
Solution: Add a test. (Dominique Pelle, closes #4346)
|
|
|
|
|
| |
Problem: When starting with multiple tabs file messages is confusing.
Solution: Set 'shortmess' when loading the other tabs. (Christian Brabandt)
|
|
|
|
|
| |
Problem: Message written during startup is truncated.
Solution: Restore message after truncating. (closes 3969)
|
|
|
|
|
| |
Problem: Command line argument -q [errorfile] is not tested.
Solution: Add a test. (Dominique Pelle, closes #3730)
|
|
|
|
|
| |
Problem: Accessing invalid memory in SmcOpenConnection().
Solution: Reduce size of errorstring by one. (Dominique Pelle, closes #3469)
|
|
|
|
|
|
| |
Problem: Several command line arguments are not tested.
Solution: Add tests for -m, -M, -R and -Vfile. (Dominique Pelle,
closes #3458)
|
|
|
|
|
| |
Problem: Startup test fails on MS-Windows.
Solution: Do the Arabic test in silent Ex mode. Loosen the check for -V2.
|
|
|
|
|
|
| |
Problem: Several command line arguments are not tested.
Solution: Add tests for -A, -F, -H, -p and -V. (Dominique Pelle,
closes #3446)
|
|
|
|
|
| |
Problem: No test for -o and -O command line arguments.
Solution: Add a test. (Dominique Pelle, closes #3438)
|
|
|
|
|
|
| |
Problem: If $SHELL contains a space then the default value of 'shell' is
incorrect. (Matthew Horan)
Solution: Escape spaces in $SHELL. (Christian Brabandt, closes #459)
|
|
|
|
|
| |
Problem: "vim -c startinsert!" doesn't append.
Solution: Correct line number on startup. (Christian Brabandt, closes #2117)
|
|
|
|
|
|
| |
Problem: Plugins in start packages are sourced twice. (mseplowitz)
Solution: Use the unmodified runtime path when loading plugins (test by Ingo
Karkat, closes #1801)
|
|
|
|
|
|
|
| |
Problem: Package directories are added to 'runtimepath' only after loading
non-package plugins.
Solution: Split off the code to add package directories to 'runtimepath'.
(Ingo Karkat, closes #1680)
|
|
|
|
|
| |
Problem: Startup test fails on Mac.
Solution: Use another term name, "unknown" is known. Avoid a 2 second delay.
|
|
|
|
|
| |
Problem: No test for falling back to default term value.
Solution: Add a test.
|
|
|
|
|
|
| |
Problem: ml_get errors in silent Ex mode. (Dominique Pelle)
Solution: Clear valid flags when setting the cursor. Set the topline when
not in full screen mode.
|
|
|
|
|
| |
Problem: v:progpath may become invalid after ":cd".
Solution: Turn v:progpath into a full path if needed.
|
|
|
|
|
|
|
| |
Problem: When startup test fails it's not easy to find out why.
GUI test fails with Gnome.
Solution: Add the help entry matches to a list an assert that.
Set $HOME for Gnome to create .gnome2 directory.
|
|
|
|
|
| |
Problem: Reading from stdin test fails on MS-Windows.
Solution: Strip the extra space.
|
|
|
|
|
| |
Problem: No test for reading from stdin.
Solution: Add a test.
|
|
|
|
|
|
| |
Problem: No testing for -C and -N command line flags, file arguments,
startuptime.
Solution: Add tests.
|
|
|
|
|
| |
Problem: Can't test help on MS-Windows.
Solution: Skip the test.
|
|
|
|
|
| |
Problem: No test for "vim --help".
Solution: Add a test.
|
|
|
|
|
| |
Problem: Startup test gets stuck on MS-Windows.
Solution: Use double quotes.
|
|
|
|
|
| |
Problem: Small build can't run startup test.
Solution: Skip the test.
|
|
|
|
|
| |
Problem: Startup test fails on MS-Windows.
Solution: Don't check output if RunVim() returns zero.
|
|
|
|
|
|
|
|
| |
Problem: It is not possible to use plugins in an "after" directory to tune
the behavior of a package.
Solution: First load plugins from non-after directories, then packages and
finally plugins in after directories.
Reset 'loadplugins' before executing --cmd arguments.
|
|
Problem: Loading defaults.vim with -C argument.
Solution: Don't load the defaults script with -C argument. Test sourcing
the defaults script. Set 'display' to "truncate".
|