Closed MNie closed 3 years ago
It seems to be a problem with console/PowerShell itself. Need to run following command in Powershell:
$OutputEncoding = [console]::InputEncoding = [console]::OutputEncoding =
New-Object System.Text.UTF8Encoding
It seems that Expecto.Diff doesn't handle Unicode characters properly.
Following code snippet:
Produces the following error message:
Whereas the expected output is
C:\\пользователи\\dobromir\\кафедра
Invalid check in
Expect.equal
is:C:\\польdsfsdfdsзователи\\dobromir\\кафедра
Outlined part should be:
dsfsdfds