Skip to content

Commit 5b2e42d

Browse files
committed
test: 提高代码覆盖率
1 parent f86fcc5 commit 5b2e42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/UnitTest/Components/TableColumnTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void InternalTableColumn_Ok()
7777
SetValue("HeaderTextTooltip", "Test");
7878
SetValue("HeaderTextEllipsis", true);
7979
SetValue("IsMarkupString", true);
80-
SetValue("GetTooltipTextCallback", new Func<object, Task<string?>>(_ => Task.FromResult((string?)"")));
80+
SetValue("GetTooltipText", new Func<object, string?>(_ => ""));
8181
SetValue("CustomSearch", new Func<ITableColumn, string?, SearchFilterAction>((_, _) => new SearchFilterAction("test", "test")));
8282

8383
SetValue("Required", true);

0 commit comments

Comments
 (0)