Skip to content

Commit 7e97471

Browse files
committed
test: 增加单元测试
1 parent 06aa586 commit 7e97471

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/UnitTest/Components/TableTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,11 @@ public void ShowToolbar_Ok()
560560
builder.AddAttribute(2, "FieldExpression", Utility.GenerateValueExpression(foo, "Name", typeof(string)));
561561
builder.CloseComponent();
562562
});
563+
pb.Add(a => a.ToolbarTemplate, builder => builder.AddContent(0, "table-toolbar-template-content"));
563564
});
564565
});
565566
cut.Contains("float-end table-toolbar-button");
567+
cut.Contains("float-start table-toolbar-button");
566568
}
567569

568570
[Fact]

0 commit comments

Comments
 (0)