Skip to content

Commit 885db05

Browse files
committed
Fix lint issues: line length
1 parent a3b50b3 commit 885db05

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/lib/select/select.spec.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,12 +321,18 @@ describe('MdSelect', () => {
321321

322322
options =
323323
overlayContainerElement.querySelectorAll('md-option') as NodeListOf<HTMLElement>;
324-
expect(options[0].classList).not.toContain('mat-selected', 'Expected first option to no longer be selected');
325-
expect(options[1].classList).toContain('mat-selected', 'Expected second option to be selected');
324+
325+
expect(options[0].classList)
326+
.not.toContain('mat-selected', 'Expected first option to no longer be selected');
327+
expect(options[1].classList)
328+
.toContain('mat-selected', 'Expected second option to be selected');
326329

327330
const optionInstances = fixture.componentInstance.options.toArray();
328-
expect(optionInstances[0].selected).toBe(false, 'Expected first option to no longer be selected');
329-
expect(optionInstances[1].selected).toBe(true, 'Expected second option to be selected');
331+
332+
expect(optionInstances[0].selected)
333+
.toBe(false, 'Expected first option to no longer be selected');
334+
expect(optionInstances[1].selected)
335+
.toBe(true, 'Expected second option to be selected');
330336
});
331337

332338
it('should remove selection if option has been removed', async(() => {

0 commit comments

Comments
 (0)