2019-07-25 03:00:08 -07:00
|
|
|
local helpers = require('test.functional.helpers')(after_each)
|
|
|
|
local clear = helpers.clear
|
|
|
|
local command = helpers.command
|
2019-09-06 17:17:37 -07:00
|
|
|
local eq = helpers.eq
|
|
|
|
local pcall_err = helpers.pcall_err
|
2019-07-25 03:00:08 -07:00
|
|
|
|
|
|
|
describe('search (/)', function()
|
|
|
|
before_each(clear)
|
|
|
|
|
|
|
|
it('fails with huge column (%c) value #9930', function()
|
2019-09-06 17:17:37 -07:00
|
|
|
eq([[Vim:E951: \% value too large]],
|
|
|
|
pcall_err(command, "/\\v%18446744071562067968c"))
|
|
|
|
eq([[Vim:E951: \% value too large]],
|
|
|
|
pcall_err(command, "/\\v%2147483648c"))
|
2019-07-25 03:00:08 -07:00
|
|
|
end)
|
|
|
|
end)
|
|
|
|
|