Michael Ennen
34a7814219
vim-patch:7.4.1605
...
Problem: Catching exception that won't be thrown.
Solution: Remove try/catch.
3905e291fe
2016-12-12 10:17:35 -05:00
Justin M. Keyes
1a4f13ba8f
test: helpers.retry()
2016-12-07 17:03:52 +01:00
James McCoy
0e1c406df4
Merge pull request #5662 from brcolow/vim-7.4.1701
...
vim-patch:7.4.1701
2016-12-01 00:14:16 -05:00
Michael Ennen
783c9aac8e
vim-patch:7.4.1699 ( #5660 )
...
Problem: :packadd does not work the same when used early or late.
Solution: Always load plugins matching "plugin/**/*.vim".
71fb0c146b
2016-11-29 23:19:25 +01:00
Michael Ennen
783220e427
vim-patch:7.4.1701
...
Problem: Equivalence classes still tested in old style tests.
Solution: Remove the duplicate.
f9f22dbe4f
2016-11-24 23:30:30 -07:00
Shougo Matsushita
d152e2f3fd
vim-patch:7.4.1660
...
Problem: has('patch-7.4.1') doesn't work.
Solution: Fix off-by-one error. (Thinca)
819821c5a9
2016-11-22 07:27:13 +09:00
James McCoy
2e5736e2cd
vim-patch:7.4.1664
...
Problem: Crash in :cgetexpr.
Solution: Check for NULL pointer. (Dominique) Add a test.
89c64d557d
2016-11-15 23:16:09 -05:00
James McCoy
830bf8665b
vim-patch:7.4.1650
...
Problem: Quickfix test fails.
Solution: Accept any number of matches.
f68f1d7079
2016-11-15 23:16:09 -05:00
James McCoy
caa33aaaf8
vim-patch:7.4.1647
...
Problem: Using freed memory after setqflist() and ":caddbuffer". (Dominique)
Solution: Set qf_ptr when adding the first item to the quickfix list.
8b20179c65
2016-11-15 23:16:08 -05:00
James McCoy
7231438f12
vim-patch:7.4.1640
...
Problem: Crash when an autocommand changes a quickfix list. (Dominique)
Solution: Check wether an entry is still valid. (Yegappan Lakshmanan,
Hirohito Higashi)
ffec3c5349
2016-11-15 23:16:08 -05:00
Shougo
c69cfd7d1c
vim-patch:8.0.0035 ( #5609 )
...
Problem: Order of matches for 'omnifunc' is messed up. (Danny Su)
Solution: Do not set compl_curr_match when called from complete_check().
(closes vim/vim#1168 )
472e85970e
2016-11-15 17:59:55 +01:00
James McCoy
7e48c23a50
vim-patch:7.4.1634 ( #5594 )
...
Problem: Vertical movement after CTRL-A ends up in the wrong column.
(Urtica Dioica)
Solution: Set curswant when appropriate. (Hirohito Higashi)
8e08125d3a
2016-11-12 11:32:23 +01:00
James McCoy
c5bc0ea04c
vim-patch:7.4.1614 ( #5593 )
...
Problem: Still quickfix test in old style.
Solution: Turn test 10 into a new style test.
7eba3d2cbf
2016-11-12 11:30:18 +01:00
James McCoy
7baa96b717
vim-patch:7.4.1591
...
Problem: The quickfix title is truncated.
Solution: Save the command before it is truncated. (Anton Lindqvist)
5584df65a0
2016-11-11 11:37:42 -05:00
James McCoy
5bcb7aa8bf
Merge pull request #5441 from Shougo/vim-7.4.1588
...
vim-patch:7.4.1588
2016-10-20 10:47:42 -04:00
Shougo Matsushita
3bb388664d
vim-patch:7.4.1565
...
Problem: Crash when assert_equal() runs into a NULL string.
Solution: Check for NULL. (Dominique) Add a test.
f155196444
2016-10-15 14:25:50 +09:00
Shougo Matsushita
41ab095399
vim-patch:7.4.1588
...
Problem: Old style test for quickfix.
Solution: Turn test 96 into a new style test.
1ff2b64b11
2016-10-15 11:09:03 +09:00
Nova
a20a00459c
vim-patch:7.4.1740
...
Problem: syn-cchar defined with matchadd() does not appear if there are no
other syntax definitions which matches buffer text.
Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes vim/vim#757 )
4d58502202
2016-09-22 01:46:30 +07:00
Justin M. Keyes
911421d328
test: legacy/012_directory_spec: Also use dot-prefix on Windows.
...
win32 handles dot-prefixed files just fine; Nvim-on-Windows does not
perpetuate the Vim-on-Windows behavior of avoiding dot-prefixed files.
2016-09-20 11:08:14 +02:00
Justin M. Keyes
764f576d64
test/helpers.rmdir(): Retry once after a delay.
...
Attempt to avoid "Permission denied" on Windows potentially caused by open
filepath handle in sibling process.
2016-09-20 11:08:14 +02:00
Lucas Hoffmann
4a6b4bbf93
tests: migrate legacy test 12. #4196
2016-09-18 16:38:10 +02:00
Rui Abreu Ferreira
9ce81f7b2b
functionaltest: Create lua helper for os.tmpname()
...
In Windows Lua's os.tmpname() returns relative paths starting with \s,
prepend them with $TEMP to generate a valid path.
In OS X os.tmpname() returns paths in '/tmp' but they should be in
'/private/tmp'. We cannot use os_name() for platform detection because
some tests use tempname() before nvim is spawned, instead use one of the
following:
1. Set SYSTEM_NAME environment variable before calling the tests, it
is set from CMAKE_SYSTEM_NAME(i.e. uname -s or 'Windows')
2. Call uname -s
3. Assume windows
2016-08-31 11:32:28 +01:00
Rui Abreu Ferreira
39c628d031
Mark some functional tests as pending in Windows
2016-08-26 08:21:41 +01:00
Björn Linse
f282b8ecac
tests: don't ignore highlights in various tests
2016-08-14 21:53:02 +02:00
Justin M. Keyes
348fcee5fb
test: Fix os_name() call.
2016-08-09 15:17:46 -04:00
Michael Ennen
6fe8c1d051
vim-patch:7.4.1305 #5094
...
Problem: "\%1l^#.*" does not match on a line starting with "#".
Solution: Do not clear the start-of-line flag. (Christian Brabandt)
7c29f38781
Helped-by: jamessan
Helped-by: mhinz
2016-08-01 03:59:04 -04:00
KillTheMule
bd8ef4ea24
test: fix
2016-07-29 08:58:27 -04:00
Justin M. Keyes
e5781d005a
Merge #2850
2016-07-28 18:51:06 -04:00
KillTheMule
7a56967f8c
A bit of linting
2016-07-28 18:50:34 -04:00
Hirokazu Hata
fbb2cd791d
vim-patch:7.4.1179 ( #5112 )
...
Problem: test_writefile and test_viml do not delete the tempfile.
Solution: Delete the tempfile. (Charles Cooper) Add DeleteTheScript().
f4f79b84a5
2016-07-25 08:12:24 -04:00
James McCoy
452707e0b0
vim-patch:7.4.1703
...
Problem: Can't assert for not equal and not matching.
Solution: Add assert_notmatch() and assert_notequal().
b50e5f5686
2016-07-23 20:42:46 -04:00
James McCoy
aece3ffa7d
vim-patch:7.4.1663
...
Problem: In tests it's often useful to check if a pattern matches.
Solution: Add assert_match().
ea6553bec3
2016-07-23 20:42:46 -04:00
Patrick
98fb0f12c4
vim-patch:7.4.1548
...
Problem: Two tests fail.
Solution: Adjust the expected error number. Remove check for type.
5a2800fd14
2016-07-13 17:59:29 +10:00
James McCoy
520a4f06e2
vim-patch:7.4.1840
...
Problem: When using packages an "after" directory cannot be used.
Solution: Add the "after" directory of the package to 'runtimepath' if it
exists.
a570244531
2016-07-08 01:45:21 -04:00
James McCoy
23b2ee0771
vim-patch:7.4.1712
...
Problem: For plugins in packages, plugin authors need to take care of all
dependencies.
Solution: When loading "start" packages and for :packloadall, first add all
directories to 'runtimepath' before sourcing plugins.
49b2732644
2016-07-08 01:45:21 -04:00
James McCoy
443d335ce3
vim-patch:7.4.1554
...
Problem: Completion for :colorscheme does not use 'packpath'.
Solution: Make it work, add a test. (Hirohito Higashi)
52f9c19015
2016-07-08 01:45:20 -04:00
James McCoy
53613e7fcd
vim-patch:7.4.1553
...
Problem: ":runtime" does not use 'packpath'.
Solution: Add "what" argument.
8dcf259d90
2016-07-08 01:45:20 -04:00
James McCoy
080476882b
vim-patch:7.4.1552
...
Problem: ":colorscheme" does not use 'packpath'.
Solution: Also use in "start" and "opt" directories in 'packpath'.
7f8989dd8a
2016-07-08 01:45:15 -04:00
James McCoy
55dcf0918c
vim-patch:7.4.1551
...
Problem: Cannot generate help tags in all doc directories.
Solution: Make ":helptags ALL" work.
6bef5306e4
2016-07-08 01:43:37 -04:00
James McCoy
26f74fdf61
vim-patch:7.4.1550
...
Problem: Cannot load packages early.
Solution: Add the ":packloadall" command.
2d8f56acb3
2016-07-08 01:43:37 -04:00
James McCoy
8ecdc571b0
vim-patch:7.4.1499
...
Problem: No error message when :packadd does not find anything.
Solution: Add an error message. (Hirohito Higashi)
be82c25486
2016-07-08 01:43:36 -04:00
James McCoy
85e539c996
vim-patch:7.4.1492
...
Problem: No command line completion for ":packadd".
Solution: Implement completion. (Hirohito Higashi)
35ca0e7a1c
2016-07-08 01:43:36 -04:00
James McCoy
2f72f34f04
vim-patch:7.4.1486
...
Problem: ":loadplugin" is not optimal, some people find it confusing.
Solution: Only use ":packadd" with an optional "!".
f365482736
2016-07-08 01:43:36 -04:00
James McCoy
67d8e58631
vim-patch:7.4.1480
...
Problem: Cannot add a pack direcory without loading a plugin.
Solution: Add the :packadd command.
91715873d1
2016-07-08 01:43:30 -04:00
James McCoy
d43ac790f2
vim-patch:7.4.1479
...
Problem: No testfor ":loadplugin".
Solution: Add a test. Fix how option is being set.
863c1a9079
2016-07-08 01:39:12 -04:00
prollings
6cee9d1a17
vim-patch:7.4.1111 ( #5004 )
...
Problem: test_expand fails on MS-Windows.
Solution: Always use forward slashes. Remove references to test27.
f60b796fa9
2016-07-06 09:13:48 -04:00
prollings
f80eb768c7
vim-patch:7.4.1121 ( #4989 )
...
Problem: test_expand leaves files behind.
Solution: Edit another file before deleting, otherwise the swap file
remains.
08b270a8a4
2016-07-02 20:22:59 -04:00
Patrick
8e804c911e
vim-patch:7.4.1136
...
Problem: Wrong argument to assert_exception() causes a crash. (reported by
Coverity)
Solution: Check for NULL pointer. Add a test.
da5dcd9366
2016-06-30 22:35:06 +10:00
Björn Linse
e8a8342132
test: fix command_count_spec
...
The test hit wait_return if x or .x.swp exists in the project root directory.
2016-06-23 16:54:19 +02:00
James McCoy
cde1d818d0
vim-patch:7.4.1592
...
Problem: Quickfix code using memory after being freed. (Dominique Pelle)
Solution: Detect that the window was closed. (Hirohito Higashi)
0899d69803
2016-06-22 21:10:07 -04:00