parser_spec.lua 400 B

12345678910111213141516
  1. local n = require('test.functional.testnvim')()
  2. local clear = n.clear
  3. local api = n.api
  4. local assert_alive = n.assert_alive
  5. describe(':terminal', function()
  6. before_each(clear)
  7. it('handles invalid OSC terminators #30084', function()
  8. local chan = api.nvim_open_term(0, {})
  9. api.nvim_chan_send(chan, '\027]8;;https://example.com\027\\Example\027]8;;\027\n')
  10. assert_alive()
  11. end)
  12. end)