summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-05-07 22:28:53 +0200
committerBram Moolenaar <Bram@vim.org>2016-05-07 22:28:53 +0200
commit4ed6b2e2d7fd5959fb9b9f608935d47305c4bbe4 (patch)
tree21334cc9cedc2edf639118954427cbb668f6974c
parent9ccaae04c6f263e6db14fc403bca2404a7871114 (diff)
downloadvim-git-4ed6b2e2d7fd5959fb9b9f608935d47305c4bbe4.tar.gz
patch 7.4.1821v7.4.1821
Problem: Test fails on MS-Windows. Solution: Sort the completion results.
-rw-r--r--src/testdir/test_help_tagjump.vim20
-rw-r--r--src/version.c2
2 files changed, 12 insertions, 10 deletions
diff --git a/src/testdir/test_help_tagjump.vim b/src/testdir/test_help_tagjump.vim
index c3249d8fe..62076c39e 100644
--- a/src/testdir/test_help_tagjump.vim
+++ b/src/testdir/test_help_tagjump.vim
@@ -102,36 +102,36 @@ func Test_help_complete()
set rtp+=Xdir1/doc-ab
set helplang=
let list = s:get_cmd_compl_list(":h test")
- call assert_equal(['h test-col@en', 'h test-col@ab',
- \ 'h test-char@en', 'h test-char@ab'], list)
+ call assert_equal(sort(['h test-col@en', 'h test-col@ab',
+ \ 'h test-char@en', 'h test-char@ab']), sort(list))
" 'helplang=ab' and help file lang is 'en' and 'ab'
set helplang=ab
let list = s:get_cmd_compl_list(":h test")
- call assert_equal(['h test-col', 'h test-col@en',
- \ 'h test-char', 'h test-char@en'], list)
+ call assert_equal(sort(['h test-col', 'h test-col@en',
+ \ 'h test-char', 'h test-char@en']), sort(list))
" 'helplang=' and help file lang is 'en', 'ab' and 'ja'
set rtp+=Xdir1/doc-ja
set helplang=
let list = s:get_cmd_compl_list(":h test")
- call assert_equal(['h test-col@en', 'h test-col@ab',
+ call assert_equal(sort(['h test-col@en', 'h test-col@ab',
\ 'h test-col@ja', 'h test-char@en',
- \ 'h test-char@ab', 'h test-char@ja'], list)
+ \ 'h test-char@ab', 'h test-char@ja']), sort(list))
" 'helplang=ab' and help file lang is 'en', 'ab' and 'ja'
set helplang=ab
let list = s:get_cmd_compl_list(":h test")
- call assert_equal(['h test-col', 'h test-col@en',
+ call assert_equal(sort(['h test-col', 'h test-col@en',
\ 'h test-col@ja', 'h test-char',
- \ 'h test-char@en', 'h test-char@ja'], list)
+ \ 'h test-char@en', 'h test-char@ja']), sort(list))
" 'helplang=ab,ja' and help file lang is 'en', 'ab' and 'ja'
set helplang=ab,ja
let list = s:get_cmd_compl_list(":h test")
- call assert_equal(['h test-col', 'h test-col@ja',
+ call assert_equal(sort(['h test-col', 'h test-col@ja',
\ 'h test-col@en', 'h test-char',
- \ 'h test-char@ja', 'h test-char@en'], list)
+ \ 'h test-char@ja', 'h test-char@en']), sort(list))
endif
catch
call assert_exception('X')
diff --git a/src/version.c b/src/version.c
index 4dafb8442..56e9a3e61 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1821,
+/**/
1820,
/**/
1819,