From ed7ecae1f34760a2d6096161510f1ecc058d7239 Mon Sep 17 00:00:00 2001 From: hzexe Date: Tue, 8 Jan 2019 23:47:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- C_Style_LibraryTest/WrapperTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C_Style_LibraryTest/WrapperTest.cs b/C_Style_LibraryTest/WrapperTest.cs index eef31bd..911c2a4 100644 --- a/C_Style_LibraryTest/WrapperTest.cs +++ b/C_Style_LibraryTest/WrapperTest.cs @@ -61,7 +61,7 @@ public void SearchMusicByName_InsideTest() Wrapper.SearchMusicByName_Inside(sptr, ptr); Native_SearchResult* f = (Native_SearchResult*)(ptr); var songItem = Marshal.PtrToStructure(ptr + 12); - Assert.Equal("Lovestoned", songItem.singer_name); + Assert.NotNull(songItem.singer_name); }