Skip to content

Commit 4f6a39a

Browse files
committed
test: 增加单元测试
1 parent cb8fd59 commit 4f6a39a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/UnitTest/Components/StepTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public void Step_Items()
3737

3838
body = cut.FindAll(".step-body-item");
3939
Assert.Empty(body);
40+
41+
Assert.Equal(0, cut.Instance.CurrentStepIndex);
4042
}
4143

4244
[Fact]

0 commit comments

Comments
 (0)