Skip to content

Commit

Permalink
fix test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed May 3, 2023
1 parent 30384a0 commit 7c8879f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript/test/testing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export const fourslashLikeTester = (contents: string, fileName = entrypoint) =>
export const fileContentsSpecialPositions = (contents: string, fileName = entrypoint) => {
const cursorPositions: [number[], number[], number[]] = [[], [], []]
const cursorPositionsOnly: [number[], number[], number[]] = [[], [], []]
const replacement = /\/\*([tf\d]o?)\*\//g
const replacement = /\/\*((t|f|\d+)o?)\*\//g
let currentMatch: RegExpExecArray | null | undefined
while ((currentMatch = replacement.exec(contents))) {
const offset = currentMatch.index
Expand Down

0 comments on commit 7c8879f

Please sign in to comment.