Skip to content

Commit 3bca8da

Browse files
committed
Remove leading dot on string tag representation
1 parent 4628626 commit 3bca8da

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sources/SourceKitLSP/Swift/SwiftTestingScanner.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,7 @@ struct TestingAttributeData {
103103
} else if components.starts(with: ["Tag"]) {
104104
components = components.dropFirst(1)
105105
}
106-
107-
// Tags.foo resolves to ".foo", Tags.Nested.foo resolves to ".Nested.foo"
108-
return ".\(components.joined(separator: "."))"
106+
return components.joined(separator: ".")
109107
}
110108
return nil
111109
}

0 commit comments

Comments
 (0)