Skip to content

Commit 796e71f

Browse files
authored
Using the short name for the display name (#38)
1 parent 2184260 commit 796e71f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/neotest-vstest/mtp/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ local function map_test_cases(project, test_nodes)
3434
test_cases[file] = vim.tbl_extend("force", existing, {
3535
[node.uid] = {
3636
CodeFilePath = location,
37-
DisplayName = node["display-name"],
37+
DisplayName = string.gsub(node["display-name"], "[^(]+%.", "", 1),
3838
LineNumber = line_number,
3939
FullyQualifiedName = fully_qualified_name,
4040
},

0 commit comments

Comments
 (0)