Correct behavior for test cases with slashes

This commit is contained in:
Shamus Taylor 2025-04-22 09:04:22 -05:00 committed by Jozef Izso
parent 34f1c566ff
commit a0398fb7dd
7 changed files with 228 additions and 78 deletions

View file

@ -64,8 +64,9 @@ export class GolangJsonParser implements TestParser {
}
let groupName: string | null
let testName: string
[groupName, testName] = event.Test.split('/', 2)
let rest: string[]
[groupName, ...rest] = event.Test.split('/')
let testName = rest.join('/')
if (!testName) {
testName = groupName
groupName = null