| Commit message (Collapse) | Author | Age |
| ... | |
| | |
|
| |
|
|
|
|
|
|
| |
Problem: When running new style tests the output is not visible.
Solution: Add the testdir/messages file and show it. Update the list of
test names.
https://github.com/vim/vim/commit/096c8bb40d51b22a4b1d761baf7bb79fb9e55a28
|
| |
|
|
|
|
|
| |
Problem: An error in a test script goes unnoticed.
Solution: Source the test script inside try/catch. (Hirohito Higashi)
https://github.com/vim/vim/commit/4686b323e4bc0f466500b018959f6c8965f010f9
|
| |
|
|
|
|
|
| |
Problem: Tests for :cdo, :ldo, etc. are outdated.
Solution: Add new style tests for these commands. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/57d7971b5f1621071176eea81cdb0d1fc50c925d
|
| |
|
|
|
|
|
| |
Problem: test_cdo fails when using another language than English.
Solution: Set the language to C. (Dominique Pelle)
https://github.com/vim/vim/commit/c42b9c670ea621d4dac0f216e011a6db576c5136
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Problem: Running "make newtests" in src/testdir has no output.
Solution: List the messages file when a test fails. (Christian Brabandt)
Update the list of tests.
https://github.com/vim/vim/commit/e7893a4088d6ea796bcab6195d232cb26c12c317
|
| |
|
|
|
|
|
|
| |
Problem: When a test script navigates to another buffer the .res file is
created with the wrong name.
Solution: Use the "testname" for the .res file. (Damien)
https://github.com/vim/vim/commit/de0ad40cb3c1bc691a754698ed16a5b6cdb4086b
|
| |
|
|
|
|
|
|
|
|
| |
Problem: New style testing is incomplete.
Solution: Add the runtest script to the list of distributed files.
Add the new functions to the function overview.
Rename the functions to match Vim function style.
Move undolevels testing into a new style test script.
https://github.com/vim/vim/commit/683fa185a4b4ed7595e5942901548b8239ed5cdb
|
| |
|
|
|
|
|
|
|
| |
Problem: Writing tests for Vim script is hard.
Solution: Add assertEqual(), assertFalse() and assertTrue() functions. Add
the v:errors variable. Add the runtest script. Add a first new
style test script.
https://github.com/vim/vim/commit/43345546ae63710441f066648b8485fb545b3801
|
| |\
| |
| | |
vim-patch:7.4.608, 7.4.612
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: test_eval fails when the clipboard feature is missing.
Solution: Skip part of the test. Reduce the text used.
https://github.com/vim/vim/commit/4ac163ae5f137af236931e778660cf7878d70c25
Problem: test_eval fails on Mac.
Solution: Use the * register instead of the + register. (Jun Takimoto)
https://github.com/vim/vim/commit/e08dd4e49e6d67686e3ba1322a641488ad67c711
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: It's a bit clumsy to execute a command on a list of matches.
Solution: Add the ":ldo", ":lfdo", ":cdo" and ":cfdo" commands. (Yegappan
Lakshmanan)
https://github.com/vim/vim/commit/aa23b379421aa214e6543b06c974594a25799b09
|
| |/
|
|
|
|
|
| |
Problem: Running tests changes viminfo.
Solution: Disable viminfo.
https://github.com/vim/vim/commit/6bf7c523ad54f625547ef2cc6009c28c0dd337ed
|
| |
|
|
|
|
|
|
|
| |
Problem: Text deleted by "dit" depends on indent of closing tag.
(Jan Parthey)
Solution: Do not adjust oap->end in do_pending_operator(). (Christian
Brabandt)
https://github.com/vim/vim/commit/b6c2735c56f1541159e1ad95c3f17a52b3a94f1d
|
| |
|
|
|
| |
I don't want anyone getting the idea that the `-X` flag they might have
used has anything to do with why the `+` is working for them
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Always run tests with encoding=utf-8, regardless of user locale
Don't set &encoding after startup in tests
Helped-By: Michael Reed <m.reed@mykolab.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is equivalent to patches 7.4.396, 7.4.445 and 7.4.598.
vim-patch:7.4.396
Problem: When 'clipboard' is "unnamed", :g/pat/d is very slow.
(Praful)
Solution: Only set the clipboard after the last delete. (Christian
Brabandt)
https://github.com/vim/vim/commit/1f285eb49a709e00552f7bef7e74efff5ae79026
vim-patch:7.4.445
Problem: Clipboard may be cleared on startup.
Solution: Set clip_did_set_selection to -1 during startup. (Christian
Brabandt)
https://github.com/vim/vim/commit/1a19d37d90f037c09183ba68fdddf70ab8ee179a
vim-patch:7.4.598
Problem: ":tabdo windo echo 'hi'" causes "* register not to be
changed.
(Salman Halim)
Solution: Change how clip_did_set_selection is used and add
clipboard_needs_update and global_change_count. (Christian
Brabandt)
https://github.com/vim/vim/commit/af6a579263a688f30bfbbee72b28d08cc7e0f3d4
Co-Author: @bfredl
|
| | |
|
| |
|
|
| |
Re: https://github.com/neovim/neovim/issues/2676
|
| |
|
|
|
|
|
|
|
|
|
| |
patch 7.4.813
Problem: It is not possible to save and restore character search state.
Solution: Add getcharsearch() and setcharsearch(). (James McCoy)
https://github.com/vim/vim/releases/tag/v7.4.813
https://github.com/vim/vim/releases/tag/v7.4.826
Signed-off-by: James McCoy <vega.james@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The python-client has it's own test suite, and this isn't even run: see
the has('nvim') call.
Taken from
https://github.com/bfredl/neovim/commit/1acf4ace5224cf12472d2b086f55a74714491d6f
with minor modifications.
"Now that you've done the necessary cleanup, why not go ahead and merge
this." @bfredl
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test is also split in several blocks and heavily modernized. This was
done to prevent the following quoting and escaping problems during migration:
- the vim command `put =...` treats double quotes as the start of a comment so
they have to be escaped with a backslash
- when inserting control characters on the command line they have to be
escaped with <C-V>
The parts one and two of the test are functional identical so they are wrapped
in a local function. The only difference was which letters where used to test
the same feature.
Part six did test a flag in 'cpoptions' that has been removed in neovim. It
has therefore been removed as well.
Reviewed-by: Michael Reed <Pyrohh@users.noreply.github.com>
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove legacy tests from the old makefile that were forgotten after the test
migration. The tests are:
- test 26 migrated in da3ade6a593197e475f2e1c49eaf5dc346a0367c merged in #1420
- test 27 migrated in ac52d84f166b58d2ac06a6ff5a557fd2e5ca2c76 merged in #1328
- test 43 migrated in c9159586b87168c0725524165f33607ebb83efd7 merged in #1420
- test 46 migrated in 5ea94e14f0be69d293a8479d2140b196fb06c313 merged in #1328
- test 63 migrated in a040aa95c161adf47b5088b0b4ba6afc64e796aa merged in #1930
Additionally the tests 71 and 72 where removed in
85338fe1d5a56f82546e16c305c2048c081771e0 together with the +cryptv feature.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Problem: ":bufdo" may start at a deleted buffer.
Solution: Find the first not deleted buffer. (Shane Harper)
https://github.com/vim/vim/commit/v7-4-646
|
| |
|
|
|
| |
The python3 emulation layer doesn't work well enough to run that test. Also add
notes to test86/test87 explaining why.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This test is real time based as it also tests the `:earlier` and `:later`
commands with time arguments (using `:sleep`). This can sometimes case the
test to fail on systems that are under heavy load or where the time interval
between creating the expected buffer state and the `:earlier` or `:later`
command that tries to jump to it changes.
To be system independent we use nvim's `:sleep` command and `wait()` for it in
the test suit.
The legacy vim test writes to test.out a lot with `:.w >>test.out`. This
does currently not work in the lua test suite so the test is modernized to use
busted's assertions instead of the output file.
This test was treated special in the legacy Makefile but after the conversion
the related code can be removed.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Helped-By: David Bürgin <676c7473@gmail.com>
Helped-By: Justin M. Keyes <justinkz@gmail.com>
|
| |
|
|
| |
Helped-By: David Bürgin <676c7473@gmail.com>
|
| |
|
|
|
| |
Helped-By: David Bürgin <676c7473@gmail.com>
Helped-By: Shougo Matsushita <Shougo.Matsu@gmail.com>
|
| | |
|
| | |
|
| |
|
|
| |
Helped-By: Justin M. Keyes <justinkz@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Can't match "%>80v" properly. (Axel Bender)
Solution: Correctly handle ">". (Christian Brabandt)
https://github.com/vim/vim/commit/v7-4-582
See https://groups.google.com/d/msg/vim_dev/n-02i4FnOcw/P3Yyx1OLeXgJ
Slightly adapted due to the long_u refactoring in
2ceb1c74d591a07183ee02baf6ff1e205c87c6b8.
Reviewed-by: Florian Walch <florian@fwalch.com>
Fixes #2726
|
| | |
|
| | |
|
| |
|
|
| |
#2677
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: Using a block delete while 'breakindent' is set does not work
properly.
Solution: Use "line" instead of "prev_pend" as the first argument to
lbr_chartabsize_adv(). (Hirohito Higashi)
https://github.com/vim/vim/commit/v7-4-594
See https://groups.google.com/d/msg/vim_dev/B8k0AVlqMUU/qKXeY8srpGcJ
|