Skip to content

Commit baf4a67

Browse files
committed
test: 更新单元测试
1 parent db99e09 commit baf4a67

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/UnitTest/Components/RowTest.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@ public void RowType_Normal()
1414
{
1515
pb.Add(a => a.RowType, RowType.Normal);
1616
pb.Add(a => a.ChildContent, CreateContent());
17+
pb.Add(a => a.AdditionalAttributes, new Dictionary<string, object>()
18+
{
19+
{ "class", "test-row" }
20+
});
1721
});
1822

1923
Assert.Contains("data-bb-type=\"row\"", cut.Markup);
24+
Assert.Contains("class=\"d-none test-row\"", cut.Markup);
2025
}
2126

2227
[Fact]

0 commit comments

Comments
 (0)