Skip to content

Commit e7ad116

Browse files
Fixed formatting.
Signed-off-by: Titian Cernicova-Dragomir <tcernicovad1@bloomberg.net>
1 parent 373aaf4 commit e7ad116

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/testRunner/compilerRunner.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ class IsolatedDeclarationTest extends CompilerTestBase {
488488
// Exclude tests some tests
489489
// - those explicitly not opting into isolatedDeclarations
490490
// - those that do not usually emit output anyway
491-
if((options.isolatedDeclarations === false || options.noEmit || options.noTypesAndSymbols || !options.declaration)) {
491+
if (options.isolatedDeclarations === false || options.noEmit || options.noTypesAndSymbols || !options.declaration) {
492492
return undefined;
493493
}
494494
}
@@ -665,7 +665,8 @@ class IsolatedDeclarationTest extends CompilerTestBase {
665665
verifyDiffReason() {
666666
if (this.isOutputMapEquivalent && this.isOutputEquivalent && this.isDiagnosticEquivalent) {
667667
ts.Debug.assert(this.diffReason === undefined, "Should not have a diff reason if everything is equivalent");
668-
}else {
668+
}
669+
else {
669670
ts.Debug.assert(this.diffReason !== undefined, "Should have a reason if everything is not equivalent");
670671
}
671672
}
@@ -706,7 +707,7 @@ class IsolatedDeclarationTest extends CompilerTestBase {
706707

707708
class FixedIsolatedDeclarationTest extends IsolatedDeclarationTest {
708709
static fixTestProject(compilerEnvironment: CompilerTestEnvironment, shouldNotExclude = !!compilerEnvironment.testCaseContent.settings.isolatedDeclarationFixedDiffReason): CompilerTestEnvironment | undefined {
709-
if(!shouldNotExclude) {
710+
if (!shouldNotExclude) {
710711
// Exclude test that disable types and symbols (good proxy for very complex test)
711712
if (compilerEnvironment.compilerOptions.noTypesAndSymbols) {
712713
return undefined;

0 commit comments

Comments
 (0)