🚨 Fix ByteTests.GetString

Use unicode codepoint instead of raw literal
This commit is contained in:
Oliver Booth 2020-04-18 17:43:51 +01:00
parent c7aeee1572
commit 7e0de45b64
No known key found for this signature in database
GPG Key ID: 0D7F2EF1C8D2B9C0
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ namespace X10D.Tests
public void GetString()
{
byte[] a = { 0x48, 0xc3, 0xa9, 0x6c, 0x6c, 0x6f, 0x20, 0x57, 0x6f, 0x72, 0x6c, 0x64 };
Assert.AreEqual("Héllo World", a.GetString());
Assert.AreEqual("H\u00e9llo World", a.GetString());
}
/// <summary>