Skip to content

Commit 3a125ce

Browse files
jeripeierSBBandrewseguin
authored andcommitted
test(material/select): fix form field class name in assertion (#21959)
Without fixing the class name, the assertion would be useless (cherry picked from commit 087330f)
1 parent 5fc8c18 commit 3a125ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/select/select.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2952,7 +2952,7 @@ describe('MatSelect', () => {
29522952

29532953
expect(fixture.componentInstance.control.value).toBeNull();
29542954
expect(fixture.componentInstance.select.selected).toBeFalsy();
2955-
expect(formField.classList).not.toContain('mat-formf-field-should-float');
2955+
expect(formField.classList).not.toContain('mat-form-field-should-float');
29562956
expect(trigger.textContent).not.toContain('Null');
29572957
expect(trigger.textContent).not.toContain('Undefined');
29582958
}));

0 commit comments

Comments
 (0)