Skip to content

Commit 9dabac4

Browse files
Additional diff cleanup
1 parent 7b383ee commit 9dabac4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ describe('MatMdcInput with forms', () => {
10801080
expect(errorIds).toBeTruthy('errors should be shown');
10811081
expect(describedBy).toBe(errorIds);
10821082
}));
1083-
1083+
10841084
it('should set `aria-invalid` to true if the input is empty', fakeAsync(() => {
10851085
// Submit the form since it's the one that triggers the default error state matcher.
10861086
dispatchFakeEvent(fixture.nativeElement.querySelector('form'), 'submit');

src/material/input/input.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ describe('MatInput with forms', () => {
10811081
expect(testComponent.formControl.untouched).toBe(true, 'Expected untouched form control');
10821082
expect(containerEl.querySelectorAll('mat-error').length).toBe(0, 'Expected no error message');
10831083
expect(inputEl.getAttribute('aria-invalid'))
1084-
.toBe("false", 'Expected aria-invalid to be set to "false".');
1084+
.toBe('false', 'Expected aria-invalid to be set to "false".');
10851085
}));
10861086

10871087
it('should display an error message when the input is touched and invalid', fakeAsync(() => {
@@ -1135,7 +1135,7 @@ describe('MatInput with forms', () => {
11351135
expect(component.formGroup.invalid).toBe(true, 'Expected form control to be invalid');
11361136
expect(containerEl.querySelectorAll('mat-error').length).toBe(0, 'Expected no error message');
11371137
expect(inputEl.getAttribute('aria-invalid'))
1138-
.toBe("false", 'Expected aria-invalid to be set to "false".');
1138+
.toBe('false', 'Expected aria-invalid to be set to "false".');
11391139
expect(component.formGroupDirective.submitted)
11401140
.toBe(false, 'Expected form not to have been submitted');
11411141

0 commit comments

Comments
 (0)