Jan Edmund Lazo
88974c8e66
functionaltests: win: enable gzip test
...
Close gzip file handles.
2018-10-31 22:54:18 -04:00
Justin M. Keyes
9642903dea
test: Improve 008_autocommands_spec reliability ( #9129 )
...
Sometimes 008_autocommands_spec fails like this:
[ RUN ] autocommands that delete and unload buffers: BufUnload, VimLeave: -- Output to stderr:
CMake Error at /home/travis/build/neovim/neovim/cmake/RunTests.cmake:53 (message):
functional tests failed with error: 1
The final :quit + wait() is a race. Use command() instead, which is
synchronous. Use command('silent! ...') everywhere else too, because
it's clearer instead of feeding input and clearing the expected errors
with CTRL-L.
2018-10-17 09:24:45 +02:00
Björn Linse
c8810a51a3
tests: improve robustness of immediate successes in screen tests
2018-10-15 20:13:11 +02:00
Jan Edmund Lazo
2c0998e104
vim-patch:8.0.1291: C indent wrong when * immediately follows comment
...
Problem: C indent wrong when * immediately follows comment. (John Bowler)
Solution: Do not see "/*" after "*" as a comment start. (closes vim/vim#2321 )
f8c53d3d26
2018-08-20 00:05:12 -04:00
Jan Edmund Lazo
0bdd4e8393
oldtests: finish port of 8.0.1224
2018-08-15 01:27:30 -04:00
Jan Edmund Lazo
c9f2faf3bf
vim-patch:8.0.1398: :packadd does not load packages from the "start" directory ( #8762 )
...
Problem: :packadd does not load packages from the "start" directory.
(Alejandro Hernandez)
Solution: Make :packadd look in the "start" directory if those packages were
not loaded on startup.
9e1d399e63
2018-07-23 02:04:49 +02:00
Justin M. Keyes
b7514493a0
defaults: shortmess+=F ( #8619 )
...
Because we default to laststatus=2 (statusline is always visible), the
:edit message is not useful.
ref #6289
2018-06-22 08:18:02 +02:00
Jan Edmund Lazo
7f6c1d256f
vim-patch:8.0.0254: error message of assert functions ( #8488 )
...
Problem: When using an assert function one can either specify a message or
get a message about what failed, not both.
Solution: Concatenate the error with the message.
c7b831ca15
2018-06-07 09:59:45 +02:00
Jan Edmund Lazo
e21f454e11
fixup: always delete Xfile, fix exit code check
...
after_each + os.remove ensures Xfile is deleted after every test.
Windows exit code is inconsistent.
2018-05-25 07:43:02 -04:00
Jan Edmund Lazo
51db8ebf67
win: test: delete sautest/
2018-05-24 22:11:15 -04:00
Jan Edmund Lazo
64177e3e98
win: test: don't test symlink if not admin user
2018-05-24 22:11:14 -04:00
Jan Edmund Lazo
209f05b487
win: test: disable non-admin failing tests
...
mkfifo (msysgit) does not work outside of msys2 environment.
gzip tests fail on Windows.
mklink requires admin privs for file symbolic links so mklink fails.
2018-05-24 22:11:12 -04:00
Justin M. Keyes
c9f3174075
API: return non-generic VimL errors
...
- Return VimL errors instead of generic errors for:
- nvim_call_function
- nvim_call_dict_function
- Fix tests which were silently broken before this change.
This violates #6150 where we agreed not to translate API errors. But
that can be fixed later.
2018-05-09 23:18:38 +02:00
b-r-o-c-k
ab6051331c
build/msvc: Fix check for cksum on Windows
2018-03-26 10:54:44 -05:00
Jan Edmund Lazo
df99ab461e
test: enable legacy/fixeol_spec in Windows
...
Try nvim's delete() for cross-platform file remove in Windows
2018-02-19 07:10:45 -05:00
Jan Edmund Lazo
6beb7ee77a
win: enable legacy test 051
2018-02-19 07:10:44 -05:00
Jan Edmund Lazo
f1e6828b7b
win: enable legacy test 059
2018-02-19 07:10:44 -05:00
Jan Edmund Lazo
2943056f75
win: enable legacy test 107
2018-02-19 07:10:44 -05:00
Jan Edmund Lazo
44dc8b4753
win: enable legacy test 093
2018-02-19 07:10:43 -05:00
Jan Edmund Lazo
10fbae086a
win: enable legacy/arglist_spec.lua
2018-02-19 07:10:43 -05:00
Jan Edmund Lazo
18a53b6502
win: enable legacy test 30
2018-02-19 07:10:43 -05:00
Jan Edmund Lazo
c5a7f451ce
win: enable legacy/getcwd_spec.lua
2018-02-19 07:10:43 -05:00
Jan Edmund Lazo
3c0cc9c2fb
win: enable legacy/wordcount_spec.lua
2018-02-19 07:10:43 -05:00
Jan Edmund Lazo
e55de56a99
win: enable legacy/packadd_spec.lua
2018-02-19 07:10:42 -05:00
Jan Edmund Lazo
f4d82c1438
win: enable legacy test 011
2018-02-19 07:10:42 -05:00
Jan Edmund Lazo
4f65cd7c0a
win: enable legacy/delete_spec.lua
2018-02-19 07:10:42 -05:00
Jan Edmund Lazo
bde32edefe
win: enable legacy test 097
2018-02-19 07:10:42 -05:00
Jan Edmund Lazo
0fd899aa07
win: enable legacy test 025
2018-02-19 07:10:41 -05:00
Justin M. Keyes
9bf9cc69c1
test/arglist_spec: update to Vim 8.0.0721 behavior
2018-02-11 19:03:28 +01:00
Justin M. Keyes
4b7f7be301
test: port Test_edit_08() to Lua test
...
Test_edit_08() depends on special-case handling in has_compl_option()
and redrawing() which are in Vim but are not wanted in Nvim. Using a Lua
test instead of depending on workarounds in the core to make the VimL
test work.
2018-02-11 19:03:27 +01:00
Justin M. Keyes
7d12597d29
vim-patch:8.0.0692: CTRL-G with 'incsearch' and ? goes in the wrong direction
...
Problem: Using CTRL-G with 'incsearch' and ? goes in the wrong direction.
(Ramel Eshed)
Solution: Adjust search_start. (Christian Brabandt)
da5116da45
2018-02-11 15:27:56 +01:00
Justin M. Keyes
f8010ea3ec
test: robust cleanup, unique filenames #7950 ( #7950 )
...
Use unique filenames to avoid test conflicts.
Use read_file() instead of io.popen(), to ensures the file is closed.
Use helpers.rmdir(), it is far more robust than lfs.
closes #7911
2018-02-01 03:12:37 +01:00
KunMing Xie
649123d07c
vim-patch:8.0.0358,8.0.0359 ( #7832 )
...
vim-patch:8.0.0358: invalid memory access in C-indent code
Problem: Invalid memory access in C-indent code.
Solution: Don't go over end of empty line. (Dominique Pelle, closes vim/vim#1492 )
60629d6425
vim-patch:8.0.0359: 'number' and 'relativenumber' are not properly tested
Problem: 'number' and 'relativenumber' are not properly tested.
Solution: Add tests, change old style to new style tests. (Ozaki Kiichi,
closes vim/vim#1447 )
dc9a081712
2018-01-30 21:21:29 +01:00
KunMing Xie
2a1a624878
vim-patch:8.0.0443: terminal width is set to 80 in test3 ( #7933 )
...
Problem: Terminal width is set to 80 in test3.
Solution: Instead of setting 'columns' set 'wrapmargin' depending on
'columns.
38a3d6c960
2018-01-30 20:15:05 +01:00
Jan Edmund Lazo
0578087e5e
test: osx: try resolve($TMPDIR)
2018-01-28 13:58:56 -05:00
Jan Edmund Lazo
5c09f37d4a
test: fix failed tests with $TMPDIR in QuickBuild
2018-01-28 13:58:56 -05:00
Jan Edmund Lazo
7ac21332cf
Revert "test: fix failed test cases with tmpdir = $TMPDIR"
...
This reverts commit f7fe3012204169f22412194a78f196ffc72bb8c3.
Fails on QuickBuild because it uses a non-local path.
Need a environment-agnostic solution
2018-01-28 13:58:56 -05:00
Jan Edmund Lazo
28236867a0
test: fix failed test cases with tmpdir = $TMPDIR
2018-01-28 13:58:55 -05:00
Jan Edmund Lazo
c08c09add7
test: try $TMPDIR for temporary directory
2018-01-28 13:58:55 -05:00
Jan Edmund Lazo
984a93df96
win: enable legacy/fnamemodify_spec.lua
2018-01-28 13:58:54 -05:00
ckelsel
b00fd49640
vim-patch:8.0.0423: changing 'cinoptions' does not always work
...
Problem: The effect of adding "vim/vim#" to 'cinoptions' is not always removed.
(David Briscoe)
Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes vim/vim#1475 )
6b64394f34
2018-01-20 15:48:23 +08:00
ZyX
ceb45a0885
*: Fix test failures
2017-12-11 01:43:36 +03:00
ckelsel
c0e45d97b0
vim-patch:8.0.0148 #7344
...
Problem: When a C preprocessor statement has two line continuations the
following line does not have the right indent. (Ken Takata)
Solution: Add the indent of the previous continuation line. (Hirohito
Higashi)
c6aa475a27
2017-10-07 17:10:37 +02:00
KillTheMule
126b2ca077
test: lint whitespace in legacy/ ( #7308 )
2017-09-24 20:42:48 +02:00
KunMing Xie
ceade2fe53
vim-patch:8.0.0186 ( #7154 )
...
Problem: The error message from assert_notequal() is confusing.
Solution: Only mention the expected value.
5869cf060e
2017-09-10 12:52:43 +02:00
James McCoy
46a4099dfb
Merge pull request #7192 from llorens/vim-8.0.0092
...
vim-patch:8.0.0092
2017-08-25 11:21:36 -04:00
Justin M. Keyes
7f7698649f
Merge #6973 from teto/normal_hl
2017-08-22 20:01:50 +02:00
Matthieu Coudron
4d91369fd7
syntax.c: register 'Normal' highlight group
...
- :hi Normal works with -u NONE
- Makes HL_TABLE and ATTR_ENTYRY a function instead of a macro so that in can be used in gdb.
- Introduces ATTRENTRY_INIT to init attrentry_t
2017-08-22 12:37:59 +02:00
James McCoy
fc7bf1c71d
vim-patch:8.0.0437
...
Problem: The packadd test does not create the symlink correctly and does
not test the right thing.
Solution: Create the directory and symlink correctly.
644df41c44
2017-08-21 20:29:49 -04:00
James McCoy
651c6f9b6e
vim-patch:8.0.0326
...
Problem: Packadd test uses wrong directory name.
Solution: Use the variable name value. (Hirohito Higashi)
24f8f543d4
2017-08-21 20:29:49 -04:00
James McCoy
24a5564196
vim-patch:8.0.0325
...
Problem: Packadd test does not clean up symlink.
Solution: Delete the link. (Hirohito Higashi)
913727e567
2017-08-21 20:29:48 -04:00
James McCoy
a66eca78c2
vim-patch:8.0.0308
...
Problem: When using a symbolic link, the package path will not be inserted
at the right position in 'runtimepath'. (Dugan Chen, Norio Takagi)
Solution: Resolve symbolic links when finding the right position in
'runtimepath'. (Hirohito Higashi)
2f9e575583
2017-08-21 20:29:48 -04:00
Lech Lorens
d2595ba1c4
vim-patch:8.0.0092
...
Problem: C indenting does not support nested namespaces that C++ 17 has.
Solution: Add check that passes double colon inside a name. (Pauli, closes
vim/vim#1214 )
ca8b8d6956
2017-08-21 23:00:51 +02:00
ckelsel
5cd68b3900
vim-patch:8.0.0124 #7092
...
Problem: Internal error for assert_inrange(1, 1).
Solution: Adjust number of allowed arguments. (Dominique Pelle)
3421566376
2017-07-30 14:15:26 +02:00
James McCoy
54d5e90a2b
vim-patch:7.4.2320
...
Problem: Redraw problem when using 'incsearch'.
Solution: Save the current view when deleting characters. (Christian
Brabandt) Fix that the '" mark is set in the wrong position. Don't
change the search start when using BS.
dda933d06c
2017-06-26 22:08:13 -04:00
James McCoy
0dd6455659
vim-patch:7.4.2268
...
Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys.
Solution: Use CTRL-T and CTRL-G instead.
1195669f9e
2017-06-26 22:08:11 -04:00
James McCoy
518b42db91
functests/legacy: Add lua version of test_search.vim
2017-06-26 22:07:28 -04:00
James McCoy
d707b2a171
vim-patch:8.0.0478
...
Problem: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
37175409d7
2017-06-06 06:15:16 -04:00
AdnoC
5908f562df
test: Fix and add cases for unnamed register
...
Also:
Add ru to shada tests with all keys
Add test for unset unnamed and register 0
2017-05-31 13:31:05 -04:00
AdnoC
beca4dc16c
eval/shada: Add testing for unnamed register with setreg and startup
2017-05-31 13:19:08 -04:00
James McCoy
901c8fbcdb
regexp_nfa: Fix invalid fallthrough in character class detection
...
When the end character in a range matches a different standard range
(e.g., [0-z]), the range would be incorrectly detected as the class of
the end character (CLASS_az).
Instead of using a fallthrough, immediately FAIL when the end character
doesn't match the expected range.
2017-05-12 17:07:25 -04:00
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
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
James McCoy
0d3ff4b55d
vim-patch:7.4.1126
...
Problem: Can only get the directory of the current window.
Solution: Add window and tab arguments to getcwd() and haslocaldir().
(Thinca, Hirohito Higashi)
c970330676
2016-06-15 18:04:05 -04:00
James McCoy
e7ab3e7e59
test: Use clipboard fixture instead of user's clipboard ( #4903 )
2016-06-11 12:58:57 -04:00
ZyX
ff470bb853
functests: Check logs in lua code
...
It is otherwise impossible to determine which test failed sanitizer/valgrind
check. test/functional/helpers.lua module return was changed so that tests which
do not provide after_each function to get new check will automatically fail.
2016-06-10 21:50:49 +03:00
James McCoy
56e9e81115
Merge pull request #4738 from brcolow/vim-7.4.1223
...
vim-patch:7.4.1223
2016-06-09 21:18:29 -04:00
Michael Ennen
b1c9d7d237
vim-patch:7.4.1223
...
Problem: Crash when setting v:errors to a number.
Solution: Free the typval without assuming its type. (Yasuhiro Matsumoto)
a542c680a8
2016-06-09 21:18:09 -04:00
Jurica Bradaric
6c550a4f13
vim-patch:7.4.1468
...
Problem: Sort test doesn't test with "1" argument.
Solution: Also test ignore-case sorting. (Yasuhiro Matsumoto)
51d1d53680
2016-06-09 20:34:43 +02:00
Jurica Bradaric
b2d15fbebc
vim-patch:7.4.1464
...
Problem: When the argument of sort() is zero or empty it fails.
Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto)
5131c144fe
2016-06-09 20:34:43 +02:00
Jurica Bradaric
82da7eed34
vim-patch:7.4.1397
...
Problem: Sort test fails on MS-Windows.
Solution: Correct the compare function.
0bb6108eb4
2016-06-09 20:34:43 +02:00
Jurica Bradaric
81b9b37e01
vim-patch:7.4.1394
...
Problem: Can't sort inside a sort function.
Solution: Use a struct to store the sort parameters. (Jacob Niehus)
0b962473dd
2016-06-09 20:34:43 +02:00
Michael Ennen
06bbb79e63
vim-patch:7.4.1153
...
Problem: Autocommands triggered by quickfix cannot always get the current
title value.
Solution: Call qf_fill_buffer() later. (Christian Brabandt)
6920c72d4d
Helped by @mhinz
2016-06-09 11:12:51 +02:00
Lucas Hoffmann
38d98bba68
tests: Migrate legacy test 34. ( #2849 )
2016-06-08 00:25:53 -04:00
Justin M. Keyes
234346312e
test: expand_spec: clean up fixtures
2016-06-06 11:04:09 -04:00
KillTheMule
999590b313
Testlint. ( #4881 )
2016-06-05 08:26:47 -04:00
Justin M. Keyes
d97a97d7e8
Merge pull request #4879 from justinmk/test55
...
tests: Migrate legacy test 55
2016-06-05 04:42:46 -04:00
KillTheMule
5a387dddc6
Fix indents.
2016-06-05 04:26:33 -04:00
KillTheMule
dfaf720442
Testlinting.
2016-06-05 04:26:18 -04:00
Justin M. Keyes
c156a18280
Merge pull request #2844 from lucc/test10
...
tests: migrate legacy test 10
2016-06-05 04:22:52 -04:00
James McCoy
667c1dc4de
vim-patch:7.4.1108 ( #4872 )
...
Problem: Expanding "~" halfway a file name.
Solution: Handle the file name as one name. (Marco Hinz) Add a test.
Closes vim/vim#564 .
58adb14739
2016-06-03 23:18:40 -04:00
Justin M. Keyes
1e70ebe849
Merge pull request #4756 from jbradaric/vim-7.4.1119
...
vim-patch:7.4.1119,7.4.1123,7.4.1132,7.4.1161
2016-05-29 00:03:54 -04:00
Justin M. Keyes
48e945e588
Merge pull request #2825 from lucc/legacy/listlbr
...
tests: Migrate legacy test listlbr.
2016-05-27 21:06:09 -04:00
James McCoy
ccef5c9c77
vim-patch:7.4.1567
...
Problem: Crash in assert_fails().
Solution: Check for NULL. (Dominique Pelle) Add a test.
1abb502635
2016-05-25 21:02:52 -04:00
Björn Linse
c74ce334f2
Merge pull request #4624 from bfredl/timers
...
implement timers and process events during sleep
2016-05-25 11:00:54 +02:00
James McCoy
4a40231317
vim-patch:7.4.1071
...
Problem: New style tests are executed in arbitrary order.
Solution: Sort the test function names. (Hirohito Higashi)
Fix the quickfix test that depended on the order.
cfc0a350a9
2016-05-24 20:49:19 -04:00
James McCoy
da9b6b1de0
vim-patch:7.4.1053
...
Problem: Insufficient testing for quickfix commands.
Solution: Add a new style quickfix test. (Yegappan Lakshmanan)
da59dd5da6
2016-05-24 20:49:19 -04:00
Björn Linse
61e8adb25e
eval: implement timers. vim-patch: 7.4.1578, 7.4.1831
...
For the moment, timers are triggered during sleep,
but not in wait-for-input modes, like press-RETURN or f_getchar()
2016-05-24 22:08:56 +02:00
Lucas Hoffmann
71e3aec029
Update migrated test after patch recent patches in master.
...
The following upstream patches that modified the original test have reached
master: 7.4.798, 7.4.818, 7.4.883, 7.4.977. The changes are incorporated into
the migrated test.
Also improve readability and some string delimiters.
2016-05-23 10:39:24 +02:00
Lucas Hoffmann
1e1325bd18
tests: Migrate legacy test listlbr.
2016-05-23 10:39:24 +02:00
Lucas Hoffmann
622a3ae8ea
tests: Migrate legacy test 69.
2016-05-23 10:17:51 +02:00
Lucas Hoffmann
b4848c5d14
test: Clean up after migration of legacy test 55.
2016-05-23 10:17:36 +02:00
Lucas Hoffmann
1afb1cc6bc
test: Fix migrated test 55.
...
There is still one TODO item in the test file as it was necessary to comment
out one line in order to get the test to pass.
2016-05-23 10:17:32 +02:00
Lucas Hoffmann
726a6abfb7
test: Split migrated legacy test 55.
...
The test is split into several it() blocks to find the part of the test that
is making trouble.
2016-05-23 10:17:32 +02:00
Lucas Hoffmann
3734052a76
tests: Migrate legacy test 55.
2016-05-23 10:17:32 +02:00
Lucas Hoffmann
9b6988e62a
tests: Update migrated legacy test 30 for patch 7.4.643.
...
The patch was merged into master at f104ce2d
.
2016-05-23 10:15:24 +02:00
Lucas Hoffmann
87e0621857
tests: Migrate legacy test 30.
...
The original test did also create additional auxiliary files which where never
used. They are not created any longer.
2016-05-23 10:15:24 +02:00
Lucas Hoffmann
7d6b9ddc15
tests: Migrate legacy test 10.
2016-05-23 10:14:20 +02:00
Justin M. Keyes
39c015bd11
Merge pull request #2824 from lucc/legacy/close_count
...
tests: migrate legacy close_count
2016-05-22 15:33:40 -04:00
Justin M. Keyes
849d61b551
Merge pull request #4786 from jbradaric/vim-7.4.1516
...
vim-patch:7.4.1516,7.4.1521
2016-05-22 12:55:30 -04:00
James McCoy
8a379aacd7
vim-patch:7.4.1017
...
Problem: When there is a backslash in an option ":set -=" doesn't work.
Solution: Handle a backslash better. (Jacob Niehus) Add a new test, merge
in old test.
8f79acdf7e
2016-05-20 21:43:15 -04:00
Lucas Hoffmann
08cf8f4d15
tests: Modernize legacy/close_count.
2016-05-20 11:25:24 +02:00
Lucas Hoffmann
95442026e8
tests: Migrate legacy test close_count.
2016-05-20 11:25:24 +02:00
Jurica Bradaric
114fd52230
file_perm_spec: Fix the test condition on Windows.
2016-05-20 09:19:16 +02:00
Justin M. Keyes
dc88173b1b
Merge #2821 'test: migrate legacy test breakindent'
2016-05-20 00:30:01 -04:00
Jurica Bradaric
07382048b0
vim-patch:7.4.1521
...
Problem: File permission test fails on MS-Windows.
Solution: Expect a different permission.
8322e1f06e
2016-05-19 22:46:50 +02:00
Jurica Bradaric
093f8d5376
vim-patch:7.4.1516
...
Problem: Cannot change file permissions.
Solution: Add setfperm().
8049253b96
2016-05-19 22:46:50 +02:00
Justin M. Keyes
a69c3fbc8a
Merge pull request #4734 from jbradaric/vim-7.4.1102
...
vim-patch:7.4.1102, 7.4.1110, 7.4.1832
2016-05-18 00:08:47 -04:00
Jurica Bradaric
dd0e8a03fc
108_backtrace_debug_comands: Fix linter errors.
2016-05-17 20:54:42 +02:00
Jurica Bradaric
5fdb6043d7
vim-patch:7.4.1110
...
Problem: Test 108 fails when language is French.
Solution: Force English messages. (Dominique Pelle)
8c600052fa
2016-05-17 20:54:42 +02:00
Jurica Bradaric
b4cbfd3c08
vim-patch:7.4.1102
...
Problem: Debugger has no stack backtrace support.
Solution: Add "backtrace", "frame", "up" and "down" commands. (Alberto
Fanjul, closes vim/vim#433 )
f1f60f859c
2016-05-17 20:54:42 +02:00
Justin M. Keyes
7d11cc6912
Merge pull request #4759 from jbradaric/vim-7.4.1513
...
vim-patch:7.4.1513
2016-05-17 02:35:12 -04:00
Justin M. Keyes
71450b54aa
Merge pull request #4743 from jamessan/vim-7.4.1037
...
vim-patch:7.4.1037,fa73534
2016-05-15 22:50:17 -04:00
Justin M. Keyes
8dd91ddb73
test: term_close use-after-free
...
References #4393
2016-05-15 19:47:24 -04:00
Jurica Bradaric
d81556513d
vim-patch:7.4.1513
...
Problem: "J" fails if there are not enough lines. (Christian Neukirchen)
Solution: Reduce the count, only fail on the last line.
41e0f2f48f
2016-05-15 22:42:17 +02:00
Justin M. Keyes
8cdf908ddb
Merge pull request #2717 from lucc/test68
...
tests: Migrate legacy test 68.
2016-05-15 12:18:41 -04:00
James McCoy
8c399d6b37
vim-patch:7.4.1037
...
Problem: Using "q!" when there is a modified hidden buffer does not unload
the current buffer, resulting in the need to abandon it again.
Solution: When using "q!" unload the current buffer when needed. (Yasuhiro
Matsumoto, Hirohito Higashi)
027387f70c
2016-05-14 17:16:18 -04:00
Justin M. Keyes
104181ea03
Merge pull request #4563 from KillTheMule/vim-patch-1259
...
vim-patch: 7.4.1259
2016-05-14 16:47:24 -04:00
Jurica Bradaric
36a57a9e8a
Fix linter warnings in test.
2016-05-14 16:05:41 +02:00
Jurica Bradaric
055c9e1be6
vim-patch:7.4.1161
...
Problem: ":argadd" without argument is supposed to add the current buffer
name to the arglist.
Solution: Make it work as documented. (Coot, closes vim/vim#577 )
2faa29f896
2016-05-14 15:57:50 +02:00
Jurica Bradaric
02fb6ee458
vim-patch:7.4.1132
...
Problem: Old style tests for the argument list.
Solution: Add more new style tests. (Yegappan Lakshmanan)
99dbe291f5
2016-05-14 15:51:30 +02:00
Jurica Bradaric
dfdf7c02be
vim-patch:7.4.1123
...
Problem: Using ":argadd" when there are no arguments results in the second
argument to be the current one. (Yegappan Lakshmanan)
Solution: Correct the w_arg_idx value.
a24f0a550f
2016-05-14 15:51:30 +02:00
Jurica Bradaric
1573aa0b0a
vim-patch:7.4.1119
...
Problem: argidx() has a wrong value after ":%argdelete". (Yegappan
Lakshmanan)
Solution: Correct the value of w_arg_idx. Add a test.
72defda84e
2016-05-14 12:39:41 +02:00
KillTheMule
6ed201c5b5
vim-patch:7.4.1259
...
Problem: No test for what patch 7.3.414 fixed.
Solution: Add a test. (Elias Diem)
3fc3e14282
2016-05-10 19:23:53 +02:00
Jurica Bradaric
1c4989c2a3
vim-patch:7.4.1049
...
Problem: Wordcount test still still fails on MS-Windows.
Solution: Set 'fileformats' to "unix".
485dace817
2016-05-10 20:59:32 +02:00
Jurica Bradaric
6e9e5d23ce
vim-patch:7.4.1048
...
Problem: Wordcount test still fail on MS-Windows.
Solution: Set 'fileformat' to "unix".
c7803a1c42
2016-05-10 20:58:39 +02:00
Jurica Bradaric
ae7500457e
vim-patch:7.4.1047
...
Problem: Tests fail on MS-Windows.
Solution: Set 'selection' to inclusive.
7f68203168
2016-05-10 20:57:32 +02:00
Jurica Bradaric
2b238814d7
vim-patch:7.4.1042
...
Problem: g-CTRL-G shows the word count, but there is no way to get the word
count in a script.
Solution: Add the wordcount() function. (Christian Brabandt)
ed767a2073
2016-05-08 00:23:42 +02:00
James McCoy
c6ff71e00c
vim-patch:27a82e3
...
Add new file left out from patch 7.4.1034.
27a82e31ee
2016-05-05 21:13:47 -04:00
Michael Ennen
6bb4b9f57f
vim-patch:7.4.1006 #4605
...
Problem: The fix in patch 7.3.192 is not tested.
Solution: Add a test, one for each regexp engine. (Elias Diem)
96c664af27
The patch was applied to 044_099_regexp_multibyte_magic_spec.lua as
these two legacy tests (44 and 99) were merged together (and
de-duplicated) in Neovim.
2016-04-27 00:37:05 -04:00
Justin M. Keyes
ef205c3851
Merge pull request #4325 from watiko/vim-7.4.984
...
vim-patch:7.4.{984,1093}
2016-04-25 04:17:45 -04:00
Justin M. Keyes
588bc1d958
Merge #4303 'vim-patch:7.4.{951,1143,1144}'.
2016-04-25 03:56:33 -04:00
Justin M. Keyes
121e76db6f
Merge pull request #4273 from watiko/vim-7.4.957
...
vim-patch:7.4.{941,942,957}
2016-04-25 03:20:45 -04:00
Justin M. Keyes
3d7a6e4d54
Merge pull request #4367 from jbradaric/vim-7.4.1107
...
vim-patch:7.4.{1107,1114,1116,1117,1120}
2016-04-22 04:11:45 -04:00
Björn Linse
ce17d03180
eval: let getreg() return valid list for an undefined register
...
vim-patch:7.4.1755
this prevents a crash when the list is used in setreg() later
2016-04-21 18:11:06 +02:00
Jurica Bradaric
5734e21873
delete_spec: Fix linter errors.
2016-04-20 08:25:51 +02:00
Jurica Bradaric
425fcdb5b4
vim-patch:7.4.1120
...
Problem: delete(x, 'rf') fails if a directory is empty. (Lcd)
Solution: Ignore not finding matches in an empty directory.
336bd622c3
2016-04-20 08:25:51 +02:00
Jurica Bradaric
88a735166b
vim-patch:7.4.1114
...
Problem: delete() does not work well with symbolic links.
Solution: Recognize symbolik links.
43a34f9f74
2016-04-20 08:25:51 +02:00
Jurica Bradaric
50a7517a6d
vim-patch:7.4.1107
...
Problem: Vim can create a directory but not delete it.
Solution: Add an argument to delete() to make it possible to delete a
directory, also recursively.
da440d21a6
2016-04-20 08:25:16 +02:00
Justin M. Keyes
8a14750dd3
test: convert test_marks.in.
...
vim-patch:35e7594
35e7594dd4
"Add missing test files from 7.4.634 to the repository."
The discrepancy between the expected getpos() result of the old test
[0, 15, 2, 0] and the converted test [0, 3, 2, 0] is just a matter of how
the buffer is constructed: in the old Vim test the buffer has a bunch of
junk at the top.
The central purpose of the test is to verify that the getpost("'a") does
*not* return [0, 0, 0, 0].
2016-04-18 03:00:43 -04:00
Justin M. Keyes
bf2c2b34cf
Merge pull request #4357 from jbradaric/vim-7.4.1105
...
vim-patch:7.4.1105
2016-04-09 14:14:55 -04:00
James McCoy
7558f42f7d
vim-patch:7.4.1654
...
Problem: Crash when using expand('%:S') in a buffer without a name.
Solution: Don't set a NUL. (James McCoy, closes vim/vim#714 )
52c6eaffd4
2016-03-30 08:30:35 -04:00
James McCoy
62c0d99474
vim-patch:7.4.1652
...
Problem: Old style test for fnamemodify().
Solution: Turn it into a new style test.
610cc1b9b3
2016-03-30 08:30:35 -04:00
James McCoy
e4d1bf7177
vim-patch:7.4.1643
...
Problem: Terminating file name has side effects.
Solution: Restore the character. (mostly by James McCoy, closes vim/vim#713 )
d4caf5c16a
2016-03-30 08:30:35 -04:00
James McCoy
5f0c76b243
vim-patch:7.4.1641
...
Problem: Using unterminated string.
Solution: Add NUL before calling vim_strsave_shellescape(). (James McCoy)
5ca84ce4aa
2016-03-30 08:30:35 -04:00
Lucas Hoffmann
316d38d98c
tests: Update migrated legacy test 88 for patch 7.4.639.
...
The patch was merged into master at d25a59f4
.
2016-03-09 23:55:16 +01:00
Lucas Hoffmann
925c020a1b
tests: Modernize legacy test 88.
2016-03-09 23:55:13 +01:00
Lucas Hoffmann
87c208a43f
tests: Migrate legacy test 88.
2016-03-09 23:54:26 +01:00
Thiago de Arruda
c6ec148f2d
Rewrite hexadecimal escape sequences as decimal in lua strings
...
The hexadecimal notation is a Luajit extension which is not compatible with Lua
5.1. While Lua 5.2 does support hexadecimal sequences, it is better to target
Lua 5.1 for maximum compatibility with Luajit(which has fully compatible with
5.1 API/ABI).
2016-03-07 03:58:35 -03:00
Thiago de Arruda
35d8d10a6a
Remove dependency on ffi module
2016-03-07 03:58:29 -03:00
watiko
6d2ed7c0eb
tests: Migrate legacy test tagcase
2016-03-06 00:32:58 +09:00
Marco Hinz
a528d56ba0
Tests: add autocmd_spec.lua
2016-03-02 12:37:50 +01:00
watiko
29a1807de8
tests: Migrate legacy test sort
2016-03-02 17:32:24 +09:00
watiko
313810ccad
vim-patch:7.4.1143
...
Problem: Can't sort on floating point numbers.
Solution: Add the "f" flag to ":sort". (Alex Jakushev) Also add the "f"
flag to sort().
f7edf40448
2016-03-02 17:32:24 +09:00
watiko
d5904160d7
tests: Migrate legacy test searchpos
2016-03-02 16:41:09 +09:00
Justin M. Keyes
badf227e6f
Merge pull request #4319 from watiko/vim-7.4.952
...
vim-patch:7.4.952
2016-03-02 01:31:45 -05:00
Marco Hinz
be7d6ba6c1
Trigger TabNew before TabEnter
2016-03-01 21:52:37 +01:00
Jurica Bradaric
11cf3680e4
vim-patch:7.4.1105
...
Problem: When using slices there is a mixup of variable name and namespace.
Solution: Recognize variables that can't be a namespace. (Hirohito Higashi)
9bbf63dbf8
2016-02-27 18:29:16 +01:00
Lucas Hoffmann
1e7c6380fe
tests: Migrate legacy test breakindent.
2016-02-25 17:15:09 +01:00
Lucas Hoffmann
2ced866925
tests: Migrate legacy test 68.
2016-02-24 22:21:25 +01:00