Skip to content

Commit afb9321

Browse files
committed
Remove unnecessary comments
1 parent 982c745 commit afb9321

17 files changed

+36
-33
lines changed

test/integrationTests/advisor.integration.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import * as vscode from 'vscode';
77

8-
import { expect } from 'chai';
8+
import { expect, should } from 'chai';
99
import * as path from 'path';
1010
import { activateCSharpExtension, isRazorWorkspace, isSlnWithGenerator } from './integrationHelpers';
1111
import testAssetWorkspace from './testAssets/testAssetWorkspace';
@@ -25,7 +25,8 @@ suite(`Advisor ${testAssetWorkspace.description}`, function () {
2525
let advisor: Advisor;
2626

2727
suiteSetup(async function () {
28-
// These tests don't run on the BasicRazorApp2_1 solution
28+
should();
29+
2930
if (isRazorWorkspace(vscode.workspace) || isSlnWithGenerator(vscode.workspace)) {
3031
this.skip();
3132
}

test/integrationTests/codeActionRename.integration.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ suite(`Code Action Rename ${testAssetWorkspace.description}`, function () {
2121
suiteSetup(async function () {
2222
should();
2323

24-
// These tests don't run on the BasicRazorApp2_1 solution
2524
if (isRazorWorkspace(vscode.workspace) || isSlnWithGenerator(vscode.workspace)) {
2625
this.skip();
2726
}

test/integrationTests/completionProvider.integration.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ import OmniSharpCompletionProvider from "../../src/features/completionProvider";
77
import * as vscode from 'vscode';
88
import testAssetWorkspace from "./testAssets/testAssetWorkspace";
99
import * as path from "path";
10-
import { expect } from "chai";
10+
import { expect, should } from "chai";
1111
import { activateCSharpExtension, isRazorWorkspace, isSlnWithGenerator } from "./integrationHelpers";
1212

1313
suite(`${OmniSharpCompletionProvider.name}: Returns the completion items`, () => {
1414
let fileUri: vscode.Uri;
1515

1616
suiteSetup(async function () {
17-
// These tests don't run on the BasicRazorApp2_1 solution
17+
should();
18+
1819
if (isRazorWorkspace(vscode.workspace) || isSlnWithGenerator(vscode.workspace)) {
1920
this.skip();
2021
}

test/integrationTests/definitionProvider.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ import * as vscode from "vscode";
77
import CSharpDefinitionProvider from "../../src/features/definitionProvider";
88
import * as path from "path";
99
import testAssetWorkspace from "./testAssets/testAssetWorkspace";
10-
import { expect } from "chai";
10+
import { expect, should } from "chai";
1111
import { activateCSharpExtension, isRazorWorkspace, isSlnWithGenerator, restartOmniSharpServer } from './integrationHelpers';
1212

1313
suite(`${CSharpDefinitionProvider.name}: ${testAssetWorkspace.description}`, () => {
1414
let fileUri: vscode.Uri;
1515

1616
suiteSetup(async function () {
17-
// These tests don't run on the BasicRazorApp2_1 solution
17+
should();
18+
1819
if (isRazorWorkspace(vscode.workspace) || isSlnWithGenerator(vscode.workspace)) {
1920
this.skip();
2021
}

test/integrationTests/diagnostics.integration.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ suite(`DiagnosticProvider: ${testAssetWorkspace.description}`, function () {
5050
suiteSetup(async function () {
5151
should();
5252

53-
// These tests only run on the BasicRazorApp2_1 solution
5453
if (!isRazorWorkspace(vscode.workspace)) {
5554
this.skip();
5655
}

test/integrationTests/documentSymbolProvider.integration.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ suite(`DocumentSymbolProvider: ${testAssetWorkspace.description}`, function () {
2020
suiteSetup(async function () {
2121
should();
2222

23-
// These tests don't run on the BasicRazorApp2_1 solution
2423
if (integrationHelpers.isRazorWorkspace(vscode.workspace) || integrationHelpers.isSlnWithGenerator(vscode.workspace)) {
2524
this.skip();
2625
}

test/integrationTests/hoverProvider.integration.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ suite(`Hover Provider: ${testAssetWorkspace.description}`, function () {
2020
suiteSetup(async function () {
2121
should();
2222

23-
// These tests don't run on the BasicRazorApp2_1 solution
2423
if (isRazorWorkspace(vscode.workspace) || isSlnWithGenerator(vscode.workspace)) {
2524
this.skip();
2625
}

test/integrationTests/implementationProvider.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ import * as vscode from "vscode";
77
import CSharpImplementationProvider from "../../src/features/implementationProvider";
88
import * as path from "path";
99
import testAssetWorkspace from "./testAssets/testAssetWorkspace";
10-
import { expect } from "chai";
10+
import { expect, should } from "chai";
1111
import { activateCSharpExtension, isRazorWorkspace, isSlnWithGenerator } from './integrationHelpers';
1212

1313
suite(`${CSharpImplementationProvider.name}: ${testAssetWorkspace.description}`, () => {
1414
let fileUri: vscode.Uri;
1515

1616
suiteSetup(async function () {
17-
// These tests don't run on the BasicRazorApp2_1 solution
17+
should();
18+
1819
if (isRazorWorkspace(vscode.workspace) || isSlnWithGenerator(vscode.workspace)) {
1920
this.skip();
2021
}

test/integrationTests/languageMiddleware.integration.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import * as vscode from "vscode";
77
import * as path from "path";
88
import testAssetWorkspace from "./testAssets/testAssetWorkspace";
9-
import { expect } from "chai";
9+
import { expect, should } from "chai";
1010
import { activateCSharpExtension, isRazorWorkspace, isSlnWithGenerator } from './integrationHelpers';
1111
import { LanguageMiddleware, LanguageMiddlewareFeature } from "../../src/omnisharp/LanguageMiddlewareFeature";
1212

@@ -15,7 +15,8 @@ suite(`${LanguageMiddlewareFeature.name}: ${testAssetWorkspace.description}`, ()
1515
let remappedFileUri: vscode.Uri;
1616

1717
suiteSetup(async function () {
18-
// These tests don't run on the BasicRazorApp2_1 solution
18+
should();
19+
1920
if (isRazorWorkspace(vscode.workspace) || isSlnWithGenerator(vscode.workspace)) {
2021
this.skip();
2122
}

test/integrationTests/launchConfiguration.integration.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ suite(`Tasks generation: ${testAssetWorkspace.description}`, function () {
1919
suiteSetup(async function () {
2020
should();
2121

22-
// These tests don't run on the BasicRazorApp2_1 solution
2322
if (isRazorWorkspace(vscode.workspace) || isSlnWithGenerator(vscode.workspace)) {
2423
this.skip();
2524
}

0 commit comments

Comments
 (0)