Skip to content

Commit a952c9f

Browse files
authored
fix(tests): correct the test output results (#203)
1 parent 273cfe5 commit a952c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typescript/test/testing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export const fourslashLikeTester = (contents: string, fileName = entrypoint, { d
178178
)!
179179
const newContentsActual = tsFull.textChanges.applyChanges(getCurrentFile(), edits[0]!.textChanges)
180180
if (newContent) {
181-
expect(dedentString(newContent), `at marker ${mark}`).toEqual(newContentsActual)
181+
expect(newContentsActual, `at marker ${mark}`).toEqual(dedentString(newContent))
182182
}
183183
return newContentsActual
184184
}

0 commit comments

Comments
 (0)