@@ -719,9 +719,9 @@ describe("Platform module", function () {
719719 const defaultPowerShell = await powerShellExeFinder . getFirstAvailablePowerShellInstallation ( ) ;
720720 const expectedPowerShell = testPlatform . expectedPowerShellSequence [ 0 ] ;
721721
722- assert . strictEqual ( defaultPowerShell . exePath , expectedPowerShell ! . exePath ) ;
723- assert . strictEqual ( defaultPowerShell . displayName , expectedPowerShell ! . displayName ) ;
724- assert . strictEqual ( defaultPowerShell . supportsProperArguments , expectedPowerShell ! . supportsProperArguments ) ;
722+ assert . strictEqual ( defaultPowerShell . exePath , expectedPowerShell . exePath ) ;
723+ assert . strictEqual ( defaultPowerShell . displayName , expectedPowerShell . displayName ) ;
724+ assert . strictEqual ( defaultPowerShell . supportsProperArguments , expectedPowerShell . supportsProperArguments ) ;
725725 } ) ;
726726 }
727727
@@ -755,9 +755,9 @@ describe("Platform module", function () {
755755 const foundPowerShell = foundPowerShells [ i ] ;
756756 const expectedPowerShell = testPlatform . expectedPowerShellSequence [ i ] ;
757757
758- assert . strictEqual ( foundPowerShell && foundPowerShell . exePath , expectedPowerShell ! . exePath ) ;
759- assert . strictEqual ( foundPowerShell && foundPowerShell . displayName , expectedPowerShell ! . displayName ) ;
760- assert . strictEqual ( foundPowerShell && foundPowerShell . supportsProperArguments , expectedPowerShell ! . supportsProperArguments ) ;
758+ assert . strictEqual ( foundPowerShell && foundPowerShell . exePath , expectedPowerShell . exePath ) ;
759+ assert . strictEqual ( foundPowerShell && foundPowerShell . displayName , expectedPowerShell . displayName ) ;
760+ assert . strictEqual ( foundPowerShell && foundPowerShell . supportsProperArguments , expectedPowerShell . supportsProperArguments ) ;
761761 }
762762
763763 assert . strictEqual (
0 commit comments