Skip to content

Commit 5c5499c

Browse files
committed
test: 更新单元测试
1 parent d618178 commit 5c5499c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/UnitTest/Components/TransferTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public void Items_Ok()
1818
cut.SetParametersAndRender(pb =>
1919
{
2020
pb.Add(a => a.Value, "2");
21+
pb.Add(a => a.OnSetItemClass, new Func<SelectedItem, string>(i => $"class-{i.Value}"));
2122
pb.Add(a => a.Items, new List<SelectedItem>()
2223
{
2324
new("1", "Test1"),

0 commit comments

Comments
 (0)