Skip to content

Commit beb5ff4

Browse files
committed
Change to DisplayName
1 parent 657fd95 commit beb5ff4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/features/codeLensProvider.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ abstract class TestCodeLens extends OmniSharpCodeLens {
4141
constructor(
4242
range: protocol.V2.Range,
4343
fileName: string,
44-
public name: string,
44+
public displayName: string,
4545
public isTestContainer: boolean,
4646
public testFramework: string,
4747
public testMethodNames: string[]) {
@@ -54,25 +54,25 @@ class RunTestsCodeLens extends TestCodeLens {
5454
constructor(
5555
range: protocol.V2.Range,
5656
fileName: string,
57-
name: string,
57+
displayName: string,
5858
isTestContainer: boolean,
5959
testFramework: string,
6060
testMethodNames: string[]) {
6161

62-
super(range, fileName, name, isTestContainer, testFramework, testMethodNames);
62+
super(range, fileName, displayName, isTestContainer, testFramework, testMethodNames);
6363
}
6464
}
6565

6666
class DebugTestsCodeLens extends TestCodeLens {
6767
constructor(
6868
range: protocol.V2.Range,
6969
fileName: string,
70-
name: string,
70+
displayName: string,
7171
isTestContainer: boolean,
7272
testFramework: string,
7373
testMethodNames: string[]) {
7474

75-
super(range, fileName, name, isTestContainer, testFramework, testMethodNames);
75+
super(range, fileName, displayName, isTestContainer, testFramework, testMethodNames);
7676
}
7777
}
7878

@@ -155,7 +155,7 @@ export default class OmniSharpCodeLensProvider extends AbstractProvider implemen
155155
codeLens.command = {
156156
title: pluralTitle,
157157
command: pluralCommandName,
158-
arguments: [codeLens.name, codeLens.testMethodNames, codeLens.fileName, codeLens.testFramework]
158+
arguments: [codeLens.displayName, codeLens.testMethodNames, codeLens.fileName, codeLens.testFramework]
159159
};
160160
}
161161

0 commit comments

Comments
 (0)