Skip to content

Commit

Permalink
This wasnt required before... (#19262)
Browse files Browse the repository at this point in the history
  • Loading branch information
weswigham authored Oct 17, 2017
1 parent e99e933 commit 2cc4f53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/harness/compilerRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class CompilerBaselineRunner extends RunnerBase {
}

public checkTestCodeOutput(fileName: string) {
describe("compiler tests for " + fileName, () => {
describe(`${this.testSuiteName} tests for ${fileName}`, () => {
// Mocha holds onto the closure environment of the describe callback even after the test is done.
// Everything declared here should be cleared out in the "after" callback.
let justName: string;
Expand Down
2 changes: 1 addition & 1 deletion src/harness/projectsRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ class ProjectRunner extends RunnerBase {

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

describe("Projects tests", () => {
describe("projects tests", () => {
describe(name, () => {
function verifyCompilerResults(moduleKind: ts.ModuleKind) {
let compilerResult: BatchCompileProjectTestCaseResult;
Expand Down
3 changes: 2 additions & 1 deletion src/harness/rwcRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace RWC {
}

export function runRWCTest(jsonPath: string) {
describe("Testing a RWC project: " + jsonPath, () => {
describe("Testing a rwc project: " + jsonPath, () => {
let inputFiles: Harness.Compiler.TestFile[] = [];
let otherFiles: Harness.Compiler.TestFile[] = [];
let tsconfigFiles: Harness.Compiler.TestFile[] = [];
Expand Down Expand Up @@ -266,6 +266,7 @@ class RWCRunner extends RunnerBase {
public initializeTests(): void {
// Read in and evaluate the test list
const testList = this.tests && this.tests.length ? this.tests : this.enumerateTestFiles();

for (let i = 0; i < testList.length; i++) {
this.runTest(testList[i]);
}
Expand Down

0 comments on commit 2cc4f53

Please sign in to comment.