mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
test(vterm): move test functions into vterm_test fixture
In order to run unittests with a release build, we need the test functions to be accessible when NDEBUG is defined. Moving the functions into the test fixture ensures they are available and only available for use by the unit tests.
This commit is contained in:
@@ -79,7 +79,11 @@ local bit = require('bit')
|
||||
--- @field vterm_state_set_callbacks function
|
||||
--- @field vterm_state_set_selection_callbacks function
|
||||
--- @field vterm_state_set_unrecognised_fallbacks function
|
||||
local vterm = t.cimport('./src/vterm/vterm.h', './src/vterm/vterm_internal.h')
|
||||
local vterm = t.cimport(
|
||||
'./src/vterm/vterm.h',
|
||||
'./src/vterm/vterm_internal.h',
|
||||
'./test/unit/fixtures/vterm_test.h'
|
||||
)
|
||||
|
||||
--- @return string
|
||||
local function read_rm()
|
||||
|
||||
Reference in New Issue
Block a user