mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
test: improve test conventions
Work on https://github.com/neovim/neovim/issues/27004.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
local helpers = require('test.unit.helpers')(after_each)
|
||||
local itp = helpers.gen_itp(it)
|
||||
local t = require('test.unit.testutil')(after_each)
|
||||
local itp = t.gen_itp(it)
|
||||
|
||||
local to_cstr = helpers.to_cstr
|
||||
local eq = helpers.eq
|
||||
local NULL = helpers.NULL
|
||||
local to_cstr = t.to_cstr
|
||||
local eq = t.eq
|
||||
local NULL = t.NULL
|
||||
|
||||
local buffer = helpers.cimport('./src/nvim/buffer.h')
|
||||
local buffer = t.cimport('./src/nvim/buffer.h')
|
||||
|
||||
describe('buffer functions', function()
|
||||
local buflist_new = function(file, flags)
|
||||
|
||||
Reference in New Issue
Block a user