mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-09 23:25:43 +00:00
🚨 Fix ByteTests.GetString
Use unicode codepoint instead of raw literal
This commit is contained in:
parent
c7aeee1572
commit
7e0de45b64
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user