Skip to content

Commit 1cc3f87

Browse files
committed
Fix test expecations
1 parent ec238bf commit 1cc3f87

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
@@ -608,8 +608,8 @@ describe('MatSelectionList with forms', () => {
608608
fixture.componentInstance.formControl.setValue(['opt2', 'opt3']);
609609
fixture.detectChanges();
610610

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

614614
fixture.componentInstance.formControl.setValue(null);
615615
fixture.detectChanges();

0 commit comments

Comments
 (0)