Skip to content

Commit 3737b65

Browse files
committed
test: 更新单元测试
1 parent 3fa3fdf commit 3737b65

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/UnitTest/Components/LayoutTest.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ public void IsPage_OK()
7070
pb.Add(a => a.IsPage, true);
7171
});
7272
Assert.Contains("is-page", cut.Markup);
73+
74+
cut.SetParametersAndRender(pb =>
75+
{
76+
pb.Add(a => a.IsPage, false);
77+
});
78+
Assert.DoesNotContain("is-page", cut.Markup);
7379
}
7480

7581
[Fact]

0 commit comments

Comments
 (0)