Skip to content

Commit 6cae628

Browse files
committed
Fix test expecations
1 parent 6573f09 commit 6cae628

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/list/selection-list.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,8 @@ describe('MatSelectionList with forms', () => {
651651
fixture.componentInstance.formControl.setValue(['opt2', 'opt3']);
652652
fixture.detectChanges();
653653

654-
expect(listOptions[1].selected).toBe(true, 'Expected first option to be selected.');
655-
expect(listOptions[2].selected).toBe(true, 'Expected second option to be selected.');
654+
expect(listOptions[1].selected).toBe(true, 'Expected second option to be selected.');
655+
expect(listOptions[2].selected).toBe(true, 'Expected third option to be selected.');
656656

657657
fixture.componentInstance.formControl.setValue(null);
658658
fixture.detectChanges();

0 commit comments

Comments
 (0)