Be performs a direct comparison, somewhat equivalent to -eq. Be can also be used to test equality between arrays:
0 | Should -Be 0 $true | Should -Be $true @(1, 2, 3) | Should -Be @(1, 2, 3)
Be performs a direct comparison, somewhat equivalent to -eq. Be can also be used to test equality between arrays:
0 | Should -Be 0 $true | Should -Be $true @(1, 2, 3) | Should -Be @(1, 2, 3)