Skip to content

Tests in "Implicit.Remoting.Tests.ps1" fails after #5568 was merged #6228

@daxian-dbw

Description

@daxian-dbw

Tests in "Implicit.Remoting.Tests.ps1" fails after #5568 was merged.

Here is the failure: https://ci.appveyor.com/project/PowerShell/powershell-f975h/build/v6.1.0-preview.587

  Describing Import-PSSession with FormatAndTypes
VERBOSE: Using Global AppVeyor Credential
    Context Importing format file works
      [-] Error occurred in Context block 640ms
        Expected strings to be the same, but they were different.
        Expected length: 48
        Actual length:   46
        Strings differ at index 37.
        Expected: '\r
        Width Height\r
        ----- ------\r
          123    456\r
        \r
        \r
        '
        But was:  '\r
        Width Height\r
        ----- ------\r
          123  456\r
        \r
        \r
        '
        ------------------------------------------------------^
        642:                 $originalLocalFormatting | Should Be $originalRemoteFormatting
        at Invoke-LegacyAssertion, C:\projects\powershell-f975h\src\powershell-win-core\bin\Release\netcoreapp2.0\win7-x64\publish\Modules\Pester\4.3.1\Functions\Assertions\Should.ps1: line 188
        at <ScriptBlock>, C:\projects\powershell-f975h\test\powershell\Modules\Microsoft.PowerShell.Utility\Implicit.Remoting.Tests.ps1: line 642
        at Invoke-Blocks, C:\projects\powershell-f975h\src\powershell-win-core\bin\Release\netcoreapp2.0\win7-x64\publish\Modules\Pester\4.3.1\Functions\SetupTeardown.ps1: line 140
        at Invoke-TestGroupSetupBlocks, C:\projects\powershell-f975h\src\powershell-win-core\bin\Release\netcoreapp2.0\win7-x64\publish\Modules\Pester\4.3.1\Functions\SetupTeardown.ps1: line 125
        at DescribeImpl, C:\projects\powershell-f975h\src\powershell-win-core\bin\Release\netcoreapp2.0\win7-x64\publish\Modules\Pester\4.3.1\Functions\Describe.ps1: line 157

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions