aboutsummaryrefslogtreecommitdiff
path: root/test/unit/vterm_spec.lua
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2024-12-03 04:30:42 -0700
committerGitHub <noreply@github.com>2024-12-03 04:30:42 -0700
commit588ca99e123bbf28ba0bb4eeeeb126dc2213b64c (patch)
tree9da8d84499e0f9f933cbfb042318490e0f2892c3 /test/unit/vterm_spec.lua
parent3d3a99e69cda365cae9ad65831712301807a772b (diff)
parent7a367c6967d8bd1e386e391216a41b15bde5b28a (diff)
downloadrneovim-588ca99e123bbf28ba0bb4eeeeb126dc2213b64c.tar.gz
rneovim-588ca99e123bbf28ba0bb4eeeeb126dc2213b64c.tar.bz2
rneovim-588ca99e123bbf28ba0bb4eeeeb126dc2213b64c.zip
Merge pull request #31408 from jamessan/vterm-test-fixture
test(vterm): move test functions into vterm_test fixture
Diffstat (limited to 'test/unit/vterm_spec.lua')
-rw-r--r--test/unit/vterm_spec.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/unit/vterm_spec.lua b/test/unit/vterm_spec.lua
index 4ea5d9c29a..a05579b4ff 100644
--- a/test/unit/vterm_spec.lua
+++ b/test/unit/vterm_spec.lua
@@ -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()