Skip to content

Commit 3de074b

Browse files
committed
test: 更新单元测试
1 parent fdf044a commit 3de074b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/UnitTest/Components/TableTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// See the LICENSE file in the project root for more information.
44
// Maintainer: Argo Zhang([email protected]) Website: https://www.blazor.zone
55

6-
using Bunit;
76
using Microsoft.AspNetCore.Components.Forms;
87
using Microsoft.AspNetCore.Components.Web;
98
using Microsoft.AspNetCore.Components.Web.Virtualization;
@@ -762,6 +761,9 @@ public async Task ShowColumnList_Ok()
762761
var item = cut.FindComponents<Checkbox<bool>>()[0];
763762
await cut.InvokeAsync(item.Instance.TriggerClick);
764763
Assert.True(show);
764+
765+
await cut.InvokeAsync(item.Instance.TriggerClick);
766+
Assert.False(show);
765767
}
766768

767769
[Fact]

0 commit comments

Comments
 (0)