Skip to content

Commit 680f8b4

Browse files
committed
test: 更新单元测试
1 parent 7eb864b commit 680f8b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/UnitTest/Components/SelectTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public void IsNullable_Ok()
264264

265265
private static bool IsNullable(object select)
266266
{
267-
var mi = select.GetType().GetMethod("IsNullable", BindingFlags.Instance | BindingFlags.NonPublic)!;
267+
var mi = select.GetType().BaseType!.GetMethod("IsNullable", BindingFlags.Instance | BindingFlags.NonPublic)!;
268268
return (bool)mi.Invoke(select, null)!;
269269
}
270270

0 commit comments

Comments
 (0)