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
96f834a842
os_nodetype: Return NODE_NORMAL if os_stat fails.
...
Conforms to Vim's mch_nodetype. Regression by 7db4a15
.
buf_write() expects NODE_WRITABLE for character devices such as
/dev/stderr.
Closes #4772
2016-05-22 15:12:02 -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
AdnoC
582fb03f51
test/syntax: foo=NONE clears hi group
2016-05-21 01:19:39 -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
Yichao Zhou
723497f030
test: listchars
2016-05-20 04:04:49 -04:00
Yichao Zhou
f598bb7b3c
test: cursorline, listchars
2016-05-20 04:04:48 -04:00
Yichao Zhou
9dc08dd692
test: Update to meet new expectations.
2016-05-20 03:54:21 -04: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
Justin M. Keyes
74f6460181
Merge #4633 : support "special" highlight (undercurl)
...
Closes #2040
Closes #3370
2016-05-19 22:20:52 -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
AdnoC
e5eea7fa06
test: Screen also checks 'special' when testing attribute equality
2016-05-17 16:36:41 -04:00
AdnoC
724fc88597
test: Edit the special color test
2016-05-17 16:36:38 -04:00
KillTheMule
a5ac389e5c
test: Add a test for the new guisp highlighting feature.
...
Screen.lua needed a little cosmetical adjustment to print out the color nicely.
2016-05-17 16:32:07 -04:00
AdnoC
f6a82c1d4f
test: Fix tests failing
2016-05-17 16:31:56 -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
Justin M. Keyes
36fb600a9e
ex_terminal(): fix double-free
...
Closes #4554
2016-05-15 17:02:14 -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
3320b99816
test: ex_terminal() double-free
...
References #4554
2016-05-15 16:40:37 -04: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
a1de2ea154
Merge pull request #4757 from KillTheMule/fix-tui_spec
...
Fix tui_spec.lua for QB/Travis
2016-05-14 16:50:05 -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
KillTheMule
a1f9760a59
Fix tui_spec.lua for QB/Travis
...
This was not a problem locally, but would often/sometimes/etc. (YMMV) fail on QB
and/or travis. This seems to fix it. Quoting @justinmk: "I have a feeling this
is just a bug in the bracketed paste special-cases in the existing code".
2016-05-14 21:41:00 +02:00
Justin M. Keyes
d02cfe8061
Merge pull request #4733 from AdnoC/hi-link-cleared-group
...
Fix linking a cleared highlight group
Closes #4549
Closes #2756
Closes #4236
2016-05-12 02:55:22 -04:00
AdnoC
130a1a6bb2
test/syntax: Add testing for linking to cleared highlight groups
2016-05-10 16:08:57 -04: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
KillTheMule
48b2faead8
test/functional/helpers.lua: Fix dedent() #4735
...
The character class %s also matches a newline in lua, that's not really what we
want here. It works in the other cases in this function, so I left them, but
the final gsub should preserve newlines.
2016-05-10 06:59:45 -04:00
Justin M. Keyes
a524200ca7
Merge pull request #4729 from jbradaric/vim-7.4.1047
...
vim-patch 7.4.1047, 7.4.1048, 7.4.1049
2016-05-12 01:08:36 -04: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
KillTheMule
cdc32e72f9
Testlinting.
...
Missed in
fd3088b425
2016-05-10 19:29:11 +02:00
Justin M. Keyes
0bfc1f33a0
Merge pull request #4588 from KillTheMule/vim-patch-1285
...
vim-patch: 7.4.1285
2016-05-10 03:02:07 -04:00
KillTheMule
65b7499872
vim-patch:cb00f03
...
Add missing test file.
cb00f03933
Converted to a lua test. Change the tolerance of the test to avoid false
positives on travis.
2016-05-08 20:15:07 +02:00
Justin M. Keyes
71ac92efc7
Merge pull request #4720 from jbradaric/vim-7.4.1042
...
vim-patch:7.4.1042
2016-05-10 01:40:32 -04: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
John Szakmeister
69d1bc1a47
test/functional: clear the temp directory before each tempfile test
...
It's possible that the first test encounters a temp directory with files
in it, due to a previous test causing the first test to fail. Instead,
let's clean up before and after the test to make sure the temp area is
pristine before and after the test.
2016-05-06 20:53:53 -04:00
John Szakmeister
e91afdcda6
test/functional: fix a dependency on the previous test suite
...
While trying to debug an issue, I discovered that the tests for illegal
arguments depended on the prior suite having run and started a session.
Let's remove that unintentional dependency by starting our own session
before each test.
2016-05-06 19:55:14 -04:00
John Szakmeister
508ee7f245
test/functional: prefix the cd command with silent to prevent hanging
...
In longer directory paths, the test can hang waiting for the user to hit
enter to continue. Let's use the silent prefix to avoid this.
2016-05-06 19:53:57 -04:00