Skip to content

Commit

Permalink
fix(sub-tests): supports subtests with an identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent Cigolotti committed Apr 26, 2024
1 parent 36abe1d commit 49d9658
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/dap-go-ts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ local subtests_query = [[
field: (field_identifier) @run)
arguments: (argument_list
(interpreted_string_literal) @testname
(func_literal))
[
(func_literal)
(identifier)
])
(#eq? @run "Run")) @parent
]]

Expand Down

0 comments on commit 49d9658

Please sign in to comment.