diff --git a/test/LibDeflate.Tests/ImportTests/CompressionTests.cs b/test/LibDeflate.Tests/ImportTests/CompressionTests.cs index 83c2875..32573c7 100644 --- a/test/LibDeflate.Tests/ImportTests/CompressionTests.cs +++ b/test/LibDeflate.Tests/ImportTests/CompressionTests.cs @@ -21,7 +21,7 @@ public void AllocAndFreeCompressorTest(int compressionLevel) var compressor = Imports.Compression.libdeflate_alloc_compressor(compressionLevel); try { - Assert.NotEqual(compressor, IntPtr.Zero); + Assert.NotEqual(0, compressor); } finally {