File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ class IsolatedDeclarationTest extends CompilerTestBase {
488
488
// Exclude tests some tests
489
489
// - those explicitly not opting into isolatedDeclarations
490
490
// - 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 ) {
492
492
return undefined ;
493
493
}
494
494
}
@@ -665,7 +665,8 @@ class IsolatedDeclarationTest extends CompilerTestBase {
665
665
verifyDiffReason ( ) {
666
666
if ( this . isOutputMapEquivalent && this . isOutputEquivalent && this . isDiagnosticEquivalent ) {
667
667
ts . Debug . assert ( this . diffReason === undefined , "Should not have a diff reason if everything is equivalent" ) ;
668
- } else {
668
+ }
669
+ else {
669
670
ts . Debug . assert ( this . diffReason !== undefined , "Should have a reason if everything is not equivalent" ) ;
670
671
}
671
672
}
@@ -706,7 +707,7 @@ class IsolatedDeclarationTest extends CompilerTestBase {
706
707
707
708
class FixedIsolatedDeclarationTest extends IsolatedDeclarationTest {
708
709
static fixTestProject ( compilerEnvironment : CompilerTestEnvironment , shouldNotExclude = ! ! compilerEnvironment . testCaseContent . settings . isolatedDeclarationFixedDiffReason ) : CompilerTestEnvironment | undefined {
709
- if ( ! shouldNotExclude ) {
710
+ if ( ! shouldNotExclude ) {
710
711
// Exclude test that disable types and symbols (good proxy for very complex test)
711
712
if ( compilerEnvironment . compilerOptions . noTypesAndSymbols ) {
712
713
return undefined ;
You can’t perform that action at this time.
0 commit comments