ZyX
54bd2e8b73
eval: Make setmatches() return -1 in case of some failures
2017-03-29 10:07:43 +03:00
lonerover
e86042ae17
vim-patch:7.4.2343 and mark NA patches ( #6384 )
...
vim-patch:7.4.2343
Problem: Too many old file tests.
Solution: Turn several into new style tests. (Yegappan Lakshmanan)
53f1673cd9
2017-03-29 01:30:54 +02:00
Justin M. Keyes
0f3afdaa1b
vim-patch:8.0.0259
...
Problem: Tab commands do not handle count correctly. (Ken Hamada)
Solution: Add ADDR_TABS_RELATIVE. (Hirohito Higashi)
2f72c70657
2017-03-22 18:42:59 +01:00
lonerover
3de3340132
vim-patch:7.4.2135
...
Problem: Various tiny issues.
Solution: Update comments, white space, etc.
89eaa4185e
2017-03-11 18:26:03 +08:00
Justin M. Keyes
4306e5ae0c
test: luacheck update
...
We pull luacheck HEAD, so this is a "catch up" commit to fix
newly-discovered errors.
2017-03-01 14:47:49 +01:00
Justin M. Keyes
2872e57af2
Merge #6191 from jamessan/vim-42ebd06
...
vim-patch:42ebd06,7.4.2098,6f1d9a0,7.4.2095
2017-02-28 09:57:46 +01:00
Matthieu Coudron
5ed753044d
test: Refactor fold tests ( #5993 )
2017-02-28 09:34:02 +01:00
James McCoy
adc6e636fe
vim-patch:7.4.2095
...
Problem: Man test fails when run with the GUI.
Solution: Adjust for different behavior of GUI. Add assert_inrange().
61c04493b0
Only changes related to assert_inrange() were included, since we have a
distinct man plugin.
2017-02-27 21:40:16 -05:00
ZyX
4f10d42f82
buffer: Bind b:changedtick to b:['changedtick'], remove special cases
2017-02-23 19:46:44 +03:00
Kurt Bonatz
0e44916fff
ex_docmd.c: Allow unescaped spaces in :edit filename ( #6119 )
...
This makes :edit consistent on all platforms.
Also affects :argedit, et al. Wild (tab) completion doesn't work, though.
Closes #6010
2017-02-15 11:12:31 +01:00
Justin M. Keyes
6d4e08d226
test: Remove whitespace (avoid LF/CRLF discrepancy)
2017-02-04 04:04:27 +01:00
Lucas Hoffmann
bea2e5738d
tests: Migrate legacy test 8. #4179
...
The test produces some "hit enter" prompts and error messages that had to be
dealt with by `feed`ing CTRL-L to nvim.
2017-02-03 23:05:08 +01:00
Justin M. Keyes
6239492d9c
Merge #2990 'tests: Migrate legacy test 69.'
2017-02-03 22:55:05 +01:00
Lucas Hoffmann
b4c172d612
tests: Modernize migrated legacy test 69.
2017-02-03 22:54:38 +01:00
Justin M. Keyes
097c8dccca
refactor: Remove VimL function test_autochdir()
...
- Eliminate global test_autochdir.
- Eliminate VimL function test_autochdir()
- Use a lua test instead. Fails correctly after reverting
0c43479979
/ vim-patch:7.4.2015.
2017-01-04 07:23:13 +01:00
James McCoy
9ef371fd54
test: quickfix: Move upstream vim quickfix test to src/nvim/testdir
...
Massaging the upstream patches for this test into the lua tests are too
cumbersome and slow down patching.
2016-12-27 14:09:53 -05:00
Justin M. Keyes
43ba7f4d98
eval.c: set_selfdict(): Fix invalid memory access.
2016-12-14 20:52:18 +01:00
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