Marco Hinz
3d15cab29d
Tests: fix according to lualint
2016-02-02 20:23:12 +01:00
ZyX
610b48c5b0
functests: Add string() function tests
2016-02-02 00:54:00 +03:00
ZyX
b2ea083eeb
eval: Return different values when dividing by zero
...
Fixes #3263
2016-02-02 00:54:00 +03:00
ZyX
ad5cb87d7a
eval: Add +tablineat feature
2016-02-01 21:40:46 +03:00
ZyX
3f314d40be
functests: Improve tabline click tests
2016-02-01 21:40:46 +03:00
Jurica Bradaric
63a12e1e2d
Remove unused variables from the test.
2016-02-01 08:54:13 +01:00
Jurica Bradaric
696adeb0f6
Use before_each instead of setup in the test.
2016-02-01 08:52:38 +01:00
Justin M. Keyes
be1d5a61be
Merge pull request #4129 from jbradaric/vim-7.4.745
...
vim-patch:7.4.{745,746,747,748}
2016-02-01 02:49:27 -05:00
Jurica Bradaric
02cf813eff
Add test files for patch 7.4.771.
...
vim-patch:efcabd6892ad89a4585fb77aa94c3b1802b784ab
2016-02-01 08:48:36 +01:00
Jurica Bradaric
59ef994f8f
vim-patch:7.4.741 #4121
...
Problem: When using += with ":set" a trailing comma is not recognized.
(Issue 365)
Solution: Don't add a second comma. Add a test. (partly by Christian
Brabandt)
a7b7b1cef9
2016-02-01 02:28:51 -05:00
Justin M. Keyes
99067b7e56
Merge pull request #4113 from jbradaric/vim-7.4.709
...
vim-patch:7.4.709
2016-02-01 02:16:29 -05:00
watiko
fa924f4604
tests: Migrate legacy test increment.
2016-02-01 03:47:09 +09:00
watiko
a5f361e470
vim-patch:7.4.1027
...
Problem: No support for binary numbers.
Solution: Add "bin" to nrformats. (Jason Schulz)
887c1fea4a
2016-02-01 03:47:08 +09:00
watiko
7fc996abf6
vim-patch:7.0212
...
Add missing test case (test59's test 8-8).
8fd89f0fe7
0b23879827
2016-02-01 03:44:46 +09:00
Jurica Bradaric
f8ad215d25
vim-patch:7.4.745
...
Problem: The entries added by matchaddpos() are returned by getmatches()
but can't be set with setmatches(). (Lcd)
Solution: Fix setmatches(). (Christian Brabandt)
0fce425772
2016-01-30 12:16:32 +01:00
Justin M. Keyes
8f22031708
Merge pull request #4117 from watiko/vim-7.4.963
...
Vim 7.4.{639,753,949,963}
2016-01-29 20:41:03 -05:00
solawing
fd14f64e26
tests: add always complete test
2016-01-29 22:03:30 +08:00
Justin M. Keyes
4c960c3d78
Merge #3077 'test_eval'
2016-01-29 00:23:53 -05:00
Justin M. Keyes
41f6a10a9b
test: eval_spec.lua: minor cleanup
2016-01-29 00:20:47 -05:00
Justin M. Keyes
aa17b4b4bc
vim-patch:7.4.1137
...
Problem: Illegal memory access when using :copen and :cclose.
Solution: Avoid that curbuf is invalid. (suggestion by Justin M. Keyes)
Add a test.
62ef797496
2016-01-28 23:56:58 -05:00
Justin M. Keyes
73e83e8566
Merge pull request #4096 from justinmk/coverity125476
...
coverity/125476: RI: Null pointer dereference
2016-01-28 17:00:49 -05:00
Jurica Bradaric
a31f9161b0
vim-patch:7.4.709
...
Problem: ":tabmove" does not work as documented.
Solution: Make it work consistently. Update documentation and add tests.
(Hirohito Higashi)
40ce3a4e1f
2016-01-28 18:25:25 +01:00
watiko
db51ff10f4
vim-patch:7.4.963
...
Problem: test_listlbr_utf8 sometimes fails.
Solution: Don't use a literal multibyte character but <C-V>uXXXX. Do not
dump the screen highlighting. (Christian Brabandt, closes #518 )
1c57fe8b94
2016-01-28 20:52:41 +09:00
watiko
8721e1fe08
vim-patch:7.4.949
...
Problem: When using 'colorcolumn' and there is a sign with a fullwidth
character the highlighting is wrong. (Andrew Stewart)
Solution: Only increment vcol when in the right state. (Christian Brabandt)
32a214e78d
2016-01-28 20:52:41 +09:00
watiko
8771e84db7
vim-patch:7.4.753
...
Problem: Appending in Visual mode with 'linebreak' set does not work
properly. Also when 'selection' is "exclusive". (Ingo Karkat)
Solution: Recalculate virtual columns. (Christian Brabandt)
74db34cc91
2016-01-28 20:52:41 +09:00
watiko
d25a59f4d0
vim-patch:7.4.639
...
Problem: Combination of linebreak and conceal doesn't work well.
Solution: Fix the display problems. (Christian Brabandt)
8fc6bc7126
2016-01-28 20:52:40 +09:00
oni-link
db77b7bc9e
file_pat_to_reg_pat(): handle empty string.
2016-01-28 00:46:38 -05:00
Justin M. Keyes
894fcb778e
glob2regpat(): handle empty string.
2016-01-27 22:19:50 -05:00
Lucas Hoffmann
e78fc534dd
tests: Migrate recent patches of legacy eval test.
...
As the work of this migration did take quite some time, some changes where
made in master after this branch was started. These are ported to the new
test file.
2016-01-27 12:54:45 +01:00
Lucas Hoffmann
4b13cbc76d
tests: Comments and typos after review.
...
Helped-by: Justin M. Keyes <justinkz@gmail.com >
2016-01-27 12:52:13 +01:00
Lucas Hoffmann
fb3a6b925b
tests: Resurrect unused part of legacy eval test.
...
The old test_eval.in file did a `:wq` on line 168. The following 60 lines
where not used and there was no expected output for them in test_eval.ok.
This test code is now used in several test cases in the new test file.
2016-01-27 12:48:20 +01:00
Lucas Hoffmann
c13dc2b762
tests: Split converted eval test into it() blocks.
2016-01-27 12:43:53 +01:00
Lucas Hoffmann
8cfef01193
tests: Debug converted eval test.
2016-01-27 12:40:41 +01:00
Lucas Hoffmann
3571fdac6f
tests: Migrate legacy eval test.
2016-01-27 12:37:56 +01:00
Justin M. Keyes
765d394f18
vim-patch:ac809999
...
ac80999985
2016-01-27 03:20:07 -05:00
Lucas Hoffmann
91a1680205
tests: Improve test 83 and add pending()
call.
...
If nvim was compiled without `has("iconv")` this test is skipped.
2016-01-25 09:51:39 +01:00
Lucas Hoffmann
66f89ae321
tests: Migrate legacy test 83.
2016-01-25 09:39:59 +01:00
Justin Gassner
50c4c56967
vim-patch:dbcf19d
...
Add test files for patch 7.4.680.
dbcf19dc49
2016-01-23 15:33:31 +01:00
Justin M. Keyes
bcbcf235f6
Merge pull request #4012 from jbradaric/vim-7.4.729
...
vim-patch:7.4.729
2016-01-21 02:35:15 -05:00
Justin M. Keyes
8887ccffa6
Merge pull request #4049 from watiko/vim-7.4.616
...
vim-patch:7.4.616
2016-01-21 02:05:40 -05:00
Justin M. Keyes
542c79f20d
test: printf_spec: fix missing setup
...
before_each(clear) is required to init the test harness for single-test
runs, and also to ensure a known environment for each test.
2016-01-21 01:34:56 -05:00
Justin M. Keyes
9eb6a44564
Merge #3916 "Add support for binary numbers".
2016-01-21 01:34:36 -05:00
watiko
5fa082fa85
tests: Migrate legacy test 39.
2016-01-21 14:05:02 +09:00
Björn Linse
4618307a6c
job control: add tests for 'jobpid' and 'detach'
2016-01-20 11:09:29 +01:00
Jurica Bradaric
a118abca77
Add eol to listchars for mouse specification tests
...
This is consistent with VIM behavior. When showing a visual selection,
VIM only extends it past the last character if eol is in listchars (even
if nolist is set).
2016-01-19 08:47:49 +01:00
Justin M. Keyes
1a958345e2
Merge pull request #3981 from watiko/vim-7.4.991
...
Vim 7.4.9{78,80,81,91}
2016-01-17 22:51:06 -05:00
Seth Jackson
a7ade5c832
misc: UNIX => Unix #4022
...
Although UNIX is a registered trademark of The Open Group, it doesn't
really matter whether we refer to these systems as UNIX, Unix, or
Unix-like. So, for consistency, refer to them collectively as Unix.
Related:
http://www.greens.org/about/unix.html
http://www.unixica.com/html/unixunix.html
2016-01-16 18:34:31 -05:00
Jason Schulz
7ad3f077dc
Add support for binary numbers
2016-01-15 18:21:06 -08:00
watiko
6f88dca92d
tests: Migrate legacy test cdo.
2016-01-15 23:50:04 +09:00
Michael Reed
729064af5f
test: sys/fcntl.h -> fcntl.h
...
POSIX.1-2008[1] says that the latter should be used, and all of our
supported platforms would seem to support this scheme, apparently even
Windows[2].
[1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html
[2]: https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx
2016-01-14 23:36:58 -05:00