Skip to content

Commit 43febe5

Browse files
committed
Merge pull request #3789 from tinganho/formatFourslash
Fixes fourslash code formatting
2 parents 42bff6b + 98e6db4 commit 43febe5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/harness/fourslashRunner.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ class FourSlashRunner extends RunnerBase {
3535
this.tests = this.enumerateFiles(this.basePath, /\.ts/i, { recursive: false });
3636
}
3737

38-
this.tests.forEach((fn: string) => {
39-
describe(fn, () => {
40-
fn = ts.normalizeSlashes(fn);
38+
this.tests.forEach((fn: string) => {
39+
describe(fn, () => {
40+
fn = ts.normalizeSlashes(fn);
4141
var justName = fn.replace(/^.*[\\\/]/, '');
4242

4343
// Convert to relative path
4444
var testIndex = fn.indexOf('tests/');
4545
if (testIndex >= 0) fn = fn.substr(testIndex);
4646

4747
if (justName && !justName.match(/fourslash\.ts$/i) && !justName.match(/\.d\.ts$/i)) {
48-
it(this.testSuiteName + ' test ' + justName + ' runs correctly',() => {
48+
it(this.testSuiteName + ' test ' + justName + ' runs correctly', () => {
4949
FourSlash.runFourSlashTest(this.basePath, this.testType, fn);
5050
});
5151
}

0 commit comments

Comments
 (0)