diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-02-01 02:49:27 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-02-01 02:49:27 -0500 |
commit | be1d5a61be3e75d4d2b15b76b2bb027605c70ff8 (patch) | |
tree | 292147ad917f6e0df65e32a078709cb850843397 /test | |
parent | 59ef994f8f5fad9aaaa0e1d6eae3af66f6bb2630 (diff) | |
parent | 515b7e3effcab07f56d3e3ec74bdd2fae600aa10 (diff) | |
download | rneovim-be1d5a61be3e75d4d2b15b76b2bb027605c70ff8.tar.gz rneovim-be1d5a61be3e75d4d2b15b76b2bb027605c70ff8.tar.bz2 rneovim-be1d5a61be3e75d4d2b15b76b2bb027605c70ff8.zip |
Merge pull request #4129 from jbradaric/vim-7.4.745
vim-patch:7.4.{745,746,747,748}
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/legacy/063_match_and_matchadd_spec.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/legacy/063_match_and_matchadd_spec.lua b/test/functional/legacy/063_match_and_matchadd_spec.lua index a354d4d328..23b4f4551b 100644 --- a/test/functional/legacy/063_match_and_matchadd_spec.lua +++ b/test/functional/legacy/063_match_and_matchadd_spec.lua @@ -89,7 +89,11 @@ describe('063: Test for ":match", "matchadd()" and related functions', function( execute("call clearmatches()") execute("call setmatches(ml)") eq(ml, eval('getmatches()')) + + -- Check that "setmatches()" can correctly restore the matches from matchaddpos() execute("call clearmatches()") + execute("call setmatches(ml)") + eq(ml, eval('getmatches()')) -- Check that "setmatches()" will not add two matches with the same ID. The -- expected behaviour (for now) is to add the first match but not the |