aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/float_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-09 15:35:30 -0700
committerJustin M. Keyes <justinkz@gmail.com>2019-09-11 00:10:27 -0700
commit06bfb07e3594b019fc32120c9ba9d09ca4dd5087 (patch)
tree3ce93e047b47db2831308f1501e16fc3a5bf7c16 /test/functional/ui/float_spec.lua
parent1adbdb397df3509f3b9b3ed8f6a81dd044d278d9 (diff)
downloadrneovim-06bfb07e3594b019fc32120c9ba9d09ca4dd5087.tar.gz
rneovim-06bfb07e3594b019fc32120c9ba9d09ca4dd5087.tar.bz2
rneovim-06bfb07e3594b019fc32120c9ba9d09ca4dd5087.zip
doc
fix #10127 fix #5972
Diffstat (limited to 'test/functional/ui/float_spec.lua')
-rw-r--r--test/functional/ui/float_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ui/float_spec.lua b/test/functional/ui/float_spec.lua
index f6c18ba841..dbaf6f802b 100644
--- a/test/functional/ui/float_spec.lua
+++ b/test/functional/ui/float_spec.lua
@@ -646,7 +646,7 @@ describe('floating windows', function()
pcall_err(meths.open_win,buf, false, {width=20,height=2,relative='shell',row=0,col=0}))
eq("Invalid value of 'anchor' key",
pcall_err(meths.open_win,buf, false, {width=20,height=2,relative='editor',row=0,col=0,anchor='bottom'}))
- eq("All of 'relative', 'row', and 'col' has to be specified at once",
+ eq("'relative' requires 'row'/'col' or 'bufpos'",
pcall_err(meths.open_win,buf, false, {width=20,height=2,relative='editor'}))
eq("'width' key must be a positive Integer",
pcall_err(meths.open_win,buf, false, {width=-1,height=2,relative='editor'}))