mirror of https://github.com/ppy/SDL3-CS.git
Update tests
This commit is contained in:
parent
42b32e36d5
commit
13b2c6ebba
|
|
@ -69,7 +69,7 @@ namespace SDL3.Tests
|
|||
Assert.That(s.Raw == null, "s.Raw == null");
|
||||
Assert.That(s.Raw.Length, Is.EqualTo(0));
|
||||
|
||||
fixed (byte* ptr = s.Raw)
|
||||
fixed (byte* ptr = s)
|
||||
{
|
||||
Assert.That(ptr == null, "ptr == null");
|
||||
}
|
||||
|
|
@ -79,7 +79,7 @@ namespace SDL3.Tests
|
|||
{
|
||||
Assert.That(s.Raw.Length, Is.EqualTo(expectedLength));
|
||||
|
||||
fixed (byte* ptr = s.Raw)
|
||||
fixed (byte* ptr = s)
|
||||
{
|
||||
Assert.That(ptr != null, "ptr != null");
|
||||
Assert.That(ptr[s.Raw.Length - 1], Is.EqualTo(0));
|
||||
|
|
|
|||
Loading…
Reference in New Issue