Skip to content

Commit 6b1c0ab

Browse files
committed
Handle FeedBacks
1 parent 34d9ba7 commit 6b1c0ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/System.Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ListViewGroupCollectionEditorTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class ListViewGroupCollectionEditorTests
1212
private readonly Mock<ListViewGroupCollectionEditor> _mockEditor;
1313

1414
public ListViewGroupCollectionEditorTests() =>
15-
_mockEditor = new(typeof(ListViewGroup)) { CallBase = true };
15+
_mockEditor = new(typeof(ListViewGroup)) { CallBase = true };
1616

1717
[Fact]
1818
public void Constructor_InitializesCollectionType()
@@ -51,6 +51,7 @@ public void CreateInstance_CreatesListViewGroupWithUniqueName()
5151

5252
ListViewGroup? result = _mockEditor.Object.TestAccessor().Dynamic.CreateInstance(typeof(ListViewGroup)) as ListViewGroup;
5353

54+
result.Should().NotBeNull();
5455
result?.Name.Should().BeOfType<string>();
5556
result?.Name.Should().StartWith("ListViewGroup");
5657
result?.GetType().Should().Be(typeof(ListViewGroup));

0 commit comments

Comments
 (0)