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
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
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
Justin M. Keyes
4682b21ef2
Merge pull request #4654 from KillTheMule/testlint
...
Satisfy testlint.
2016-05-06 01:13:39 -04: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
Justin M. Keyes
22ea7be77b
Merge pull request #4540 from KillTheMule/vim-patch-1236
...
vim-patch: 7.4.1236
2016-05-04 22:03:37 -04:00
Justin M. Keyes
4ac5a0a924
Merge pull request #4644 from KillTheMule/vim-7.4.882
...
vim-patch:7.4.882
2016-05-04 21:53:10 -04:00
KillTheMule
11f41a3c8c
Add test for vim-patch 7.4.672
2016-05-02 21:10:53 +02:00
KillTheMule
00c35ab3b4
vim-patch:7.4.672
...
Problem: When completing a shell command, directories in the current
directory are not listed.
Solution: When "." is not in $PATH also look in the current directory for
directories.
b5971141df
Most of it applied manually.
2016-05-02 21:09:43 +02:00
KillTheMule
fd3088b425
Even though the patch is not needed for neovim, add a test for the bugfix
2016-04-29 19:47:20 +02:00
ZyX
37f1ee0084
ex_getln: Do not crash with :append/:insert/:change
...
This change effectively disables history for lines inserted using this method.
Not a big problem since it does not work for them in Vim in first place.
Also solves a bug(?): ex_window() run while in :append mode opens search history
in Vim for some reason. Now it opens empty cmdline window.
2016-04-29 19:10:50 +03:00