Skip to content

Commit b61d974

Browse files
committed
[test] Update for TestLocation utf8/16 change
1 parent c0d2ad0 commit b61d974

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/SKTestSupport/SKTibsTestWorkspace.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ extension TestLocation {
121121

122122
extension Position {
123123
public init(_ loc: TestLocation) {
124-
// FIXME: utf16 vfs utf8 column
125-
self.init(line: loc.line - 1, utf16index: loc.column - 1)
124+
self.init(line: loc.line - 1, utf16index: loc.utf16Column - 1)
126125
}
127126
}
128127

0 commit comments

Comments
 (0)