From f5c56f03bb9ee25c3d931034497dc76a5591b770 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Wed, 29 May 2019 10:05:00 +0200 Subject: api: allow nvim_buf_attach from lua using callbacks --- test/functional/api/buffer_updates_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/functional/api/buffer_updates_spec.lua b/test/functional/api/buffer_updates_spec.lua index b894d2facd..89d0c6f000 100644 --- a/test/functional/api/buffer_updates_spec.lua +++ b/test/functional/api/buffer_updates_spec.lua @@ -760,7 +760,7 @@ describe('API: buffer events:', function() it('returns a proper error on nonempty options dict', function() clear() local b = editoriginal(false) - expect_err("dict isn't empty", buffer, 'attach', b, false, {builtin="asfd"}) + expect_err("unexpected key: builtin", buffer, 'attach', b, false, {builtin="asfd"}) end) it('nvim_buf_attach returns response after delay #8634', function() -- cgit