aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/put_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/put_spec.lua')
-rw-r--r--test/functional/legacy/put_spec.lua41
1 files changed, 0 insertions, 41 deletions
diff --git a/test/functional/legacy/put_spec.lua b/test/functional/legacy/put_spec.lua
index 587424da10..8b9b495679 100644
--- a/test/functional/legacy/put_spec.lua
+++ b/test/functional/legacy/put_spec.lua
@@ -1,52 +1,11 @@
-local t = require('test.testutil')
local n = require('test.functional.testnvim')()
local Screen = require('test.functional.ui.screen')
local clear = n.clear
-local exec_lua = n.exec_lua
-local api = n.api
local source = n.source
-local eq = t.eq
-
-local function sizeoflong()
- if not exec_lua('return pcall(require, "ffi")') then
- pending('missing LuaJIT FFI')
- end
- return exec_lua('return require("ffi").sizeof(require("ffi").typeof("long"))')
-end
describe('put', function()
before_each(clear)
- after_each(function()
- eq({}, api.nvim_get_vvar('errors'))
- end)
-
- it('very large count 64-bit', function()
- if sizeoflong() < 8 then
- pending('Skipped: only works with 64 bit long ints')
- end
-
- source [[
- new
- let @" = repeat('x', 100)
- call assert_fails('norm 999999999p', 'E1240:')
- bwipe!
- ]]
- end)
-
- it('very large count (visual block) 64-bit', function()
- if sizeoflong() < 8 then
- pending('Skipped: only works with 64 bit long ints')
- end
-
- source [[
- new
- call setline(1, repeat('x', 100))
- exe "norm \<C-V>$y"
- call assert_fails('norm 999999999p', 'E1240:')
- bwipe!
- ]]
- end)
-- oldtest: Test_put_other_window()
it('above topline in buffer in two splits', function()