From ad84da7d3cf75dce7e285d7f95d1f017dede263d Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 21 Nov 2025 12:38:10 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E6=9B=B4=E6=96=B0=E5=8D=95=E5=85=83?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- binding/csharp/IP2Region.Net.Test/XdbTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding/csharp/IP2Region.Net.Test/XdbTest.cs b/binding/csharp/IP2Region.Net.Test/XdbTest.cs index e7bec8d..2e4a75f 100644 --- a/binding/csharp/IP2Region.Net.Test/XdbTest.cs +++ b/binding/csharp/IP2Region.Net.Test/XdbTest.cs @@ -1,4 +1,4 @@ -using Xunit; +using Xunit; namespace IP2Region.Net.Test; @@ -36,7 +36,7 @@ public class XdbTest [Fact] public async Task GetVersionAsync_Error() { - await Assert.ThrowsAsync(async () => await XDB.Util.GetVersionAsync(null)); + await Assert.ThrowsAsync(async () => await XDB.Util.GetVersionAsync(null!)); await Assert.ThrowsAsync(async () => await XDB.Util.GetVersionAsync(Path.Combine(AppContext.BaseDirectory, "test.xdb"))); } }