summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_cmdline.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-15 19:01:04 +0200
committerChristian Brabandt <cb@256bit.org>2024-04-15 19:01:04 +0200
commit757f32141bb8ce797f71e7e22e59ba368e0f4952 (patch)
tree0ee933c6b3bc983a333a40456db40e2fe331592a /src/testdir/test_cmdline.vim
parentfc1dabd77baa86bcbf312cb86b3fd37e478994b1 (diff)
patch 9.1.0332: tests: some assert_equal() calls have wrong order of argsv9.1.0332
Problem: tests: some assert_equal() calls have wrong order of args Solution: Correct the order (zeertzjq). closes: #14555 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/testdir/test_cmdline.vim')
-rw-r--r--src/testdir/test_cmdline.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim
index d4fb47b5c6..ed8f89dd59 100644
--- a/src/testdir/test_cmdline.vim
+++ b/src/testdir/test_cmdline.vim
@@ -3733,9 +3733,9 @@ func Test_custom_completion()
call assert_fails("call getcompletion('', 'custom')", 'E475:')
call assert_fails("call getcompletion('', 'customlist')", 'E475:')
- call assert_equal(getcompletion('', 'custom,CustomComplete1'), ['a', 'b', 'c'])
- call assert_equal(getcompletion('', 'customlist,CustomComplete2'), ['a', 'b'])
- call assert_equal(getcompletion('b', 'customlist,CustomComplete2'), ['b'])
+ call assert_equal(['a', 'b', 'c'], getcompletion('', 'custom,CustomComplete1'))
+ call assert_equal(['a', 'b'], getcompletion('', 'customlist,CustomComplete2'))
+ call assert_equal(['b'], getcompletion('b', 'customlist,CustomComplete2'))
delcom Test1
delcom Test2