aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen_basic_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-04-08 03:01:15 +0200
committerGitHub <noreply@github.com>2018-04-08 03:01:15 +0200
commitfa6415f13f526220237cff6c6f0055aaad2cdd9e (patch)
treec1d90c7903dd5a4b7ae45b3a3cca852c9ab6b26a /test/functional/ui/screen_basic_spec.lua
parent929a732d006ddd2bac49cf5e555e9e83372a511d (diff)
downloadrneovim-fa6415f13f526220237cff6c6f0055aaad2cdd9e.tar.gz
rneovim-fa6415f13f526220237cff6c6f0055aaad2cdd9e.tar.bz2
rneovim-fa6415f13f526220237cff6c6f0055aaad2cdd9e.zip
test/API: validate channel arg (#8245)
Diffstat (limited to 'test/functional/ui/screen_basic_spec.lua')
-rw-r--r--test/functional/ui/screen_basic_spec.lua19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/functional/ui/screen_basic_spec.lua b/test/functional/ui/screen_basic_spec.lua
index 563d04416a..8a1f9b0d19 100644
--- a/test/functional/ui/screen_basic_spec.lua
+++ b/test/functional/ui/screen_basic_spec.lua
@@ -4,7 +4,6 @@ local spawn, set_session, clear = helpers.spawn, helpers.set_session, helpers.cl
local feed, command = helpers.feed, helpers.command
local insert = helpers.insert
local eq = helpers.eq
-local eval = helpers.eval
local iswin = helpers.iswin
describe('screen', function()
@@ -631,21 +630,3 @@ describe('Screen', function()
end)
end)
end)
-
-describe('nvim_ui_attach()', function()
- before_each(function()
- clear()
- end)
- it('handles very large width/height #2180', function()
- local screen = Screen.new(999, 999)
- screen:attach()
- eq(999, eval('&lines'))
- eq(999, eval('&columns'))
- end)
- it('invalid option returns error', function()
- local screen = Screen.new()
- local status, rv = pcall(function() screen:attach({foo={'foo'}}) end)
- eq(false, status)
- eq('No such ui option', rv:match("No such .*"))
- end)
-end)