aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/float_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-11 00:17:31 -0700
committerGitHub <noreply@github.com>2019-09-11 00:17:31 -0700
commit6aed19b2bbe5fbc6df682d159fbc53e7e72c87ac (patch)
tree3ce93e047b47db2831308f1501e16fc3a5bf7c16 /test/functional/ui/float_spec.lua
parentb735583377bf5c15a7bd5e910e4ae9fa833c1e42 (diff)
parent06bfb07e3594b019fc32120c9ba9d09ca4dd5087 (diff)
downloadrneovim-6aed19b2bbe5fbc6df682d159fbc53e7e72c87ac.tar.gz
rneovim-6aed19b2bbe5fbc6df682d159fbc53e7e72c87ac.tar.bz2
rneovim-6aed19b2bbe5fbc6df682d159fbc53e7e72c87ac.zip
Merge #10986 'doc'
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'}))