Skip to content

Commit f95a860

Browse files
authored
test(Localizer): remove net9 localizer test (#7132)
1 parent 238f8e7 commit f95a860

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/UnitTest/Utils/UtilityTest.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using System.ComponentModel.DataAnnotations;
1111
using System.Data;
1212
using System.Globalization;
13-
using System.Net;
1413
using System.Reflection;
1514
using UnitTest.Components;
1615

@@ -393,12 +392,7 @@ public void GetJsonStringByTypeName_UseKeyWhenValueIsNull()
393392

394393
var test1 = items.FirstOrDefault(i => i.Name == "Test-Null");
395394
Assert.NotNull(test1);
396-
397-
#if NET9_0
398-
Assert.Equal("", test1.Value);
399-
#elif NET10_0_OR_GREATER
400395
Assert.Equal("Test-Null", test1.Value);
401-
#endif
402396

403397
var test2 = items.FirstOrDefault(i => i.Name == "Test-Key");
404398
Assert.NotNull(test2);

0 commit comments

Comments
 (0)