Work on macro binding generation, some cleanup needed, rename runner to plugin
This commit is contained in:
parent
dda6dcb3b8
commit
f6a9558c5c
22 changed files with 330 additions and 59 deletions
|
@ -1,16 +0,0 @@
|
|||
query = [[(
|
||||
(attribute_item
|
||||
(meta_item
|
||||
(identifier) @test)) @attribute
|
||||
.
|
||||
(function_item
|
||||
name: (identifier) @name) @funciton
|
||||
)]]
|
||||
|
||||
function run_test(name)
|
||||
local command = 'cargo test -- ' .. name
|
||||
local openPop = assert(io.popen(command, 'r'))
|
||||
local output = openPop:read('*all')
|
||||
openPop:close()
|
||||
return output
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue