aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorYatao Li <yatli@microsoft.com>2020-03-03 18:17:37 +0800
committerYatao Li <yatli@microsoft.com>2020-04-28 01:53:05 +0800
commit6da16ac931eec7be2487ee98e7f605fa12b0171d (patch)
tree3835e1fee5c75f5f54c0cbc6f23ef5ccefe1c37a /src/nvim/testdir
parent9c85caa390ccf6295233c4201a60ccfa66417816 (diff)
downloadrneovim-6da16ac931eec7be2487ee98e7f605fa12b0171d.tar.gz
rneovim-6da16ac931eec7be2487ee98e7f605fa12b0171d.tar.bz2
rneovim-6da16ac931eec7be2487ee98e7f605fa12b0171d.zip
external pum: use floating point geometry; typval: add tv_dict_add_float
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_popup.vim14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/testdir/test_popup.vim b/src/nvim/testdir/test_popup.vim
index e5696f4cbb..bb0ed6e00c 100644
--- a/src/nvim/testdir/test_popup.vim
+++ b/src/nvim/testdir/test_popup.vim
@@ -979,9 +979,9 @@ func Test_CompleteChanged()
call cursor(4, 1)
call feedkeys("Sf\<C-N>", 'tx')
- call assert_equal({'completed_item': {}, 'width': 15,
- \ 'height': 2, 'size': 2,
- \ 'col': 0, 'row': 4, 'scrollbar': v:false}, g:event)
+ call assert_equal({'completed_item': {}, 'width': 15.0,
+ \ 'height': 2.0, 'size': 2,
+ \ 'col': 0.0, 'row': 4.0, 'scrollbar': v:false}, g:event)
call feedkeys("a\<C-N>\<C-N>\<C-E>", 'tx')
call assert_equal('foo', g:word)
call feedkeys("a\<C-N>\<C-N>\<C-N>\<C-E>", 'tx')
@@ -1009,10 +1009,10 @@ func Test_pum_getpos()
setlocal completefunc=UserDefinedComplete
let d = {
- \ 'height': 5,
- \ 'width': 15,
- \ 'row': 1,
- \ 'col': 0,
+ \ 'height': 5.0,
+ \ 'width': 15.0,
+ \ 'row': 1.0,
+ \ 'col': 0.0,
\ 'size': 5,
\ 'scrollbar': v:false,
\ }