From 3866137eed6b6e649ac95e53ad246e977f9ac2ae Mon Sep 17 00:00:00 2001 From: KillTheMule Date: Tue, 24 Apr 2018 21:41:59 +0200 Subject: [PATCH] Update test --- test/functional/api/buffer_updates_spec.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/functional/api/buffer_updates_spec.lua b/test/functional/api/buffer_updates_spec.lua index 7659961e90..0eec59bd65 100644 --- a/test/functional/api/buffer_updates_spec.lua +++ b/test/functional/api/buffer_updates_spec.lua @@ -1,6 +1,6 @@ local helpers = require('test.functional.helpers')(after_each) local eq, ok = helpers.eq, helpers.ok -local buffer, command, eval, nvim, next_message = helpers.buffer, +local buffer, command, eval, nvim, next_msg = helpers.buffer, helpers.command, helpers.eval, helpers.nvim, helpers.next_msg local origlines = {"original line 1", @@ -12,7 +12,7 @@ local origlines = {"original line 1", local function expectn(name, args) -- expect the next message to be the specified notification event - eq({'notification', name, args}, next_message()) + eq({'notification', name, args}, next_msg()) end local function sendkeys(keys) @@ -88,8 +88,8 @@ local function reopenwithfolds(b) return tick end -describe('liveupdate', function() - it('knows when you add line to a buffer', function() +describe('buffer events', function() + it('when you add line to a buffer', function() local b, tick = editoriginal(true) -- add a new line at the start of the buffer