From f1c72b28393cb6de993f609cb348ca078ef301b4 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Tue, 10 Sep 2024 17:06:17 +0200 Subject: [PATCH] test: add vterm tests [skip ci] --- test/unit/vterm_spec.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/unit/vterm_spec.lua diff --git a/test/unit/vterm_spec.lua b/test/unit/vterm_spec.lua new file mode 100644 index 0000000000..7ede4f71ec --- /dev/null +++ b/test/unit/vterm_spec.lua @@ -0,0 +1,19 @@ +local t = require('test.unit.testutil') +local itp = t.gen_itp(it) + +local vterm = t.cimport('./src/vterm/vterm.h') + +-- local function init() +-- -- if(streq(line, "INIT")) { +-- -- if(!vt) +-- local vt = vterm.vterm_new(25, 80); +-- -- +-- -- vterm_output_set_callback(vt, term_output, NULL); +-- -- } +-- end + +describe('vterm', function() + itp('02parser', function() + print('wat') + end) +end)