Skip to content

Commit db3d8db

Browse files
Resolve linter errors
1 parent 9dabac4 commit db3d8db

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/material-experimental/mdc-input/input.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ describe('MatInput that is requried with a formControl', () => {
13041304
let fixture: ComponentFixture<MatInputWithRequiredAndFormControl>;
13051305
let input: HTMLInputElement;
13061306
let formControl: FormControl;
1307-
1307+
13081308
beforeEach(() => {
13091309
fixture = createComponent(MatInputWithRequiredAndFormControl);
13101310
formControl = fixture.componentInstance.formControl;
@@ -1314,7 +1314,7 @@ describe('MatInput that is requried with a formControl', () => {
13141314

13151315
it('should set aria-required.', () => {
13161316
expect(input.getAttribute('aria-required'))
1317-
.toBe("true", 'Expected "aria-required" to be "true"');
1317+
.toBe('true', 'Expected "aria-required" to be "true"');
13181318
});
13191319

13201320
it('should not set any value for aria-invalid.', () => {
@@ -1323,7 +1323,7 @@ describe('MatInput that is requried with a formControl', () => {
13231323
});
13241324

13251325
it('should not set aria-invalid when empty and invalid.', () => {
1326-
formControl.setErrors({error: "True!"});
1326+
formControl.setErrors({error: 'True!'});
13271327
formControl.markAsTouched();
13281328
fixture.detectChanges();
13291329

@@ -1332,13 +1332,13 @@ describe('MatInput that is requried with a formControl', () => {
13321332
});
13331333

13341334
it('should set aria-invalid when not empty and invalid.', () => {
1335-
input.value = "Some value";
1336-
formControl.setErrors({error: "True!"});
1335+
input.value = 'Some value';
1336+
formControl.setErrors({error: 'True!'});
13371337
formControl.markAsTouched();
13381338
fixture.detectChanges();
13391339

13401340
expect(input.getAttribute('aria-invalid'))
1341-
.toBe("true", 'Expected "aria-invalid" to be "true"');
1341+
.toBe('true', 'Expected "aria-invalid" to be "true"');
13421342
});
13431343
});
13441344

src/material/input/input.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1758,7 +1758,7 @@ describe('MatInput that is requried with a formControl', () => {
17581758
let fixture: ComponentFixture<MatInputWithRequiredAndFormControl>;
17591759
let input: HTMLInputElement;
17601760
let formControl: FormControl;
1761-
1761+
17621762
beforeEach(() => {
17631763
fixture = createComponent(MatInputWithRequiredAndFormControl);
17641764
formControl = fixture.componentInstance.formControl;
@@ -1768,7 +1768,7 @@ describe('MatInput that is requried with a formControl', () => {
17681768

17691769
it('should set aria-required.', () => {
17701770
expect(input.getAttribute('aria-required'))
1771-
.toBe("true", 'Expected "aria-required" to be "true"');
1771+
.toBe('true', 'Expected "aria-required" to be "true"');
17721772
});
17731773

17741774
it('should not set any value for aria-invalid.', () => {
@@ -1777,7 +1777,7 @@ describe('MatInput that is requried with a formControl', () => {
17771777
});
17781778

17791779
it('should not set aria-invalid when empty and invalid.', () => {
1780-
formControl.setErrors({error: "True!"});
1780+
formControl.setErrors({error: 'True!'});
17811781
formControl.markAsTouched();
17821782
fixture.detectChanges();
17831783

@@ -1786,13 +1786,13 @@ describe('MatInput that is requried with a formControl', () => {
17861786
});
17871787

17881788
it('should set aria-invalid when not empty and invalid.', () => {
1789-
input.value = "Some value";
1790-
formControl.setErrors({error: "True!"});
1789+
input.value = 'Some value';
1790+
formControl.setErrors({error: 'True!'});
17911791
formControl.markAsTouched();
17921792
fixture.detectChanges();
17931793

17941794
expect(input.getAttribute('aria-invalid'))
1795-
.toBe("true", 'Expected "aria-invalid" to be "true"');
1795+
.toBe('true', 'Expected "aria-invalid" to be "true"');
17961796
});
17971797
});
17981798

0 commit comments

Comments
 (0)