Skip to content

Commit 28f667d

Browse files
committed
get rid of fourslash tests
1 parent 30b7589 commit 28f667d

File tree

4 files changed

+0
-45
lines changed

4 files changed

+0
-45
lines changed

Diff for: src/harness/fourslashImpl.ts

-11
Original file line numberDiff line numberDiff line change
@@ -1120,17 +1120,6 @@ namespace FourSlash {
11201120
}
11211121
}
11221122

1123-
public verifyTypeAtLocation(range: Range, expected: string): void {
1124-
const checker = this.getChecker();
1125-
const node = this.goToAndGetNode(range);
1126-
const type = checker.getTypeAtLocation(node);
1127-
1128-
const actual = checker.typeToString(type);
1129-
if (actual !== expected) {
1130-
this.raiseError(displayExpectedAndActualString(expected, actual));
1131-
}
1132-
}
1133-
11341123
private verifyDocumentHighlightsRespectFilesList(files: readonly string[]): void {
11351124
const startFile = this.activeFile.fileName;
11361125
for (const fileName of files) {

Diff for: src/harness/fourslashInterfaceImpl.ts

-4
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,6 @@ namespace FourSlashInterface {
348348
this.state.verifyTypeOfSymbolAtLocation(range, symbol, expected);
349349
}
350350

351-
public typeAtLocation(range: FourSlash.Range, expected: string): void {
352-
this.state.verifyTypeAtLocation(range, expected);
353-
}
354-
355351
public baselineFindAllReferences(...markerNames: string[]) {
356352
this.state.verifyBaselineFindAllReferences(...markerNames);
357353
}

Diff for: tests/cases/fourslash/fourslash.ts

-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ declare namespace FourSlashInterface {
325325
baselineGetFileReferences(fileName: string): void;
326326
symbolAtLocation(startRange: Range, ...declarationRanges: Range[]): void;
327327
typeOfSymbolAtLocation(range: Range, symbol: any, expected: string): void;
328-
typeAtLocation(range: Range, expected: string): void;
329328
/** @deprecated Use baselineFindAllReferences instead */
330329
singleReferenceGroup(definition: ReferencesDefinition, ranges?: Range[] | string): void;
331330
rangesAreOccurrences(isWriteAccess?: boolean, ranges?: Range[]): void;

Diff for: tests/cases/fourslash/typehover.ts

-29
This file was deleted.

0 commit comments

Comments
 (0)