Skip to content

Commit 2cc4f53

Browse files
authored
This wasnt required before... (#19262)
1 parent e99e933 commit 2cc4f53

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Diff for: src/harness/compilerRunner.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class CompilerBaselineRunner extends RunnerBase {
4848
}
4949

5050
public checkTestCodeOutput(fileName: string) {
51-
describe("compiler tests for " + fileName, () => {
51+
describe(`${this.testSuiteName} tests for ${fileName}`, () => {
5252
// Mocha holds onto the closure environment of the describe callback even after the test is done.
5353
// Everything declared here should be cleared out in the "after" callback.
5454
let justName: string;

Diff for: src/harness/projectsRunner.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ class ProjectRunner extends RunnerBase {
443443

444444
const name = "Compiling project for " + testCase.scenario + ": testcase " + testCaseFileName;
445445

446-
describe("Projects tests", () => {
446+
describe("projects tests", () => {
447447
describe(name, () => {
448448
function verifyCompilerResults(moduleKind: ts.ModuleKind) {
449449
let compilerResult: BatchCompileProjectTestCaseResult;

Diff for: src/harness/rwcRunner.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace RWC {
2626
}
2727

2828
export function runRWCTest(jsonPath: string) {
29-
describe("Testing a RWC project: " + jsonPath, () => {
29+
describe("Testing a rwc project: " + jsonPath, () => {
3030
let inputFiles: Harness.Compiler.TestFile[] = [];
3131
let otherFiles: Harness.Compiler.TestFile[] = [];
3232
let tsconfigFiles: Harness.Compiler.TestFile[] = [];
@@ -266,6 +266,7 @@ class RWCRunner extends RunnerBase {
266266
public initializeTests(): void {
267267
// Read in and evaluate the test list
268268
const testList = this.tests && this.tests.length ? this.tests : this.enumerateTestFiles();
269+
269270
for (let i = 0; i < testList.length; i++) {
270271
this.runTest(testList[i]);
271272
}

0 commit comments

Comments
 (0)