ZyX
f5be643205
functests: Fix linter errors
2017-04-09 03:31:13 +03:00
ZyX
444cab3731
functests: Fix legacy/wordcount_spec
...
Another test where bug was hidden by execute().
2017-04-09 03:24:21 +03:00
ZyX
bd84bf8c81
functests: Fix legacy/eval_spec
2017-04-09 03:24:20 +03:00
ZyX
e170186a8d
functests: Fix legacy/close_count_spec
2017-04-09 03:24:20 +03:00
ZyX
bc98c37532
functests: Fix legacy/autocmd_option_spec
2017-04-09 03:24:19 +03:00
ZyX
a3b0146fb7
functests: Fix legacy/arglist_spec
2017-04-09 03:24:19 +03:00
ZyX
2824eb7774
functests: Fix legacy/107_adjust_window_and_contents_spec
2017-04-09 03:24:18 +03:00
ZyX
5fd8f637af
functests: Fix legacy/097_glob_path_spec
2017-04-09 03:24:18 +03:00
ZyX
9a0c921909
functests: Fix legacy/096_location_list_spec
2017-04-09 03:24:17 +03:00
ZyX
d53fae5f54
functests: Fix legacy/067_augroup_exists_spec
2017-04-09 03:24:15 +03:00
ZyX
c35bd4d074
functests: Fix legacy/074_global_var_in_viminfo_spec
2017-04-09 03:24:13 +03:00
ZyX
4da4d5cfd9
functests: Fix legacy/065_float_and_logic_operators_spec
2017-04-09 03:24:12 +03:00
ZyX
cb57644cb4
functests: Fix legacy/063_match_and_matchadd_spec
2017-04-09 03:24:10 +03:00
ZyX
b3b31e1065
functests: Fix legacy/062_tab_pages_spec
2017-04-09 03:24:10 +03:00
ZyX
ed0ad7ce3e
functests: Fix legacy/051_highlight_spec test
2017-04-09 03:24:09 +03:00
ZyX
a1b81f7eca
functests: Fix legacy/030_fileformats_spec test
...
For some reason it had a number of not working bwipeout! commands. execute()
successfully hid the failures, command() is not that permissive.
2017-04-09 03:24:09 +03:00
ZyX
65fb622000
functests: Replace execute with either command or feed_command
...
Hope this will make people using feed_command less likely: this hides bugs.
Already found at least two:
1. msgpackparse() will show internal error: hash_add() in case of duplicate
keys, though it will still work correctly. Currently silenced.
2. ttimeoutlen was spelled incorrectly, resulting in option not being set when
expected. Test was still functioning somehow though. Currently fixed.
2017-04-09 03:24:08 +03:00
ZyX
dd93733e52
functests: Refactor legacy/054_buffer_local_autocommands_spec
2017-04-08 22:33:02 +03:00
ZyX
cca029bc8d
functests: Refactor legacy/003_cindent_spec and legacy/increment_spec
2017-04-08 22:17:39 +03:00
ZyX
7766b24f3c
functests: Refactor legacy/018_unset_smart_indenting_spec
2017-04-08 22:02:44 +03:00
ZyX
e31aab8b61
functests: Refactor legacy/029_join test
2017-04-08 22:00:50 +03:00
ZyX
47b451c52b
functests: Refactor legacy/012_directory_spec
2017-04-08 21:58:13 +03:00
ZyX
b0731290e8
functests: Move test from legacy/009 to autocmd/autocmd
2017-04-08 21:50:14 +03:00
ZyX
1ef98b34b3
functests: Refactor 009_bufleave_autocommand_spec
...
It was not testing anything actually: the `e yy` command simply failed because
of unsaved changes, BufLeave never run thus.
2017-04-08 21:46:30 +03:00
Matthew Malcomson
66b336d89b
test: set 'nomore' by default ( #6360 )
...
Escaping from a '-- More --' prompt in tests is awkward as it doesn't
take keys from the typebuffer, requiring a call to `feed()` in lua at
the correct time. Moreover, it's rarer that a test will want the
'-- More --' prompt to be activated than not.
2017-03-30 19:00:34 +02:00
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