Skip to content

Commit 503702f

Browse files
committed
Fix MemoryPool tests
1 parent 3c3ac21 commit 503702f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

csharp.test/TestMemoryPool.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ public static void TestDefaultMemoryPool()
1212
var pool = MemoryPool.GetDefaultMemoryPool();
1313

1414
Assert.AreEqual(0, pool.BytesAllocated);
15-
Assert.Greater(pool.MaxMemory, 0);
16-
Assert.AreEqual("system", pool.BackendName);
15+
Assert.IsNotEmpty(pool.BackendName);
1716

1817
using (var buffer = new ResizableBuffer())
1918
{

0 commit comments

Comments
 (0)