Skip to content

Commit f4b83ef

Browse files
authored
Fix newlines in smartSelection baselines to not be platform dependent (microsoft#31437)
1 parent 15daf42 commit f4b83ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/harness/fourslash.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ Actual: ${stringify(fullActual)}`);
15031503
}
15041504

15051505
public baselineSmartSelection() {
1506-
const n = ts.sys.newLine;
1506+
const n = "\n";
15071507
const baselineFile = this.getBaselineFileName();
15081508
const markers = this.getMarkers();
15091509
const fileContent = this.activeFile.content;

0 commit comments

Comments
 (0)