Skip to content

Commit 2578bb4

Browse files
committed
test: 提高代码覆盖率
1 parent f66e612 commit 2578bb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/UnitTest/Components/EditorFormTest.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,9 @@ public async Task LookupServiceKey_Ok()
443443
var lookup = await lookupService.GetItemsAsync("FooLookup", "");
444444
Assert.NotNull(lookup);
445445
Assert.Equal(lookup.Count(), select.Instance.Items.Count());
446+
447+
lookup = await lookupService.GetItemsAsync(null, "");
448+
Assert.Null(lookup);
446449
}
447450

448451
[Fact]

0 commit comments

Comments
 (0)