Skip to content

Commit

Permalink
fix(material/dialog): fix mismatching test names between mdc and non-mdc
Browse files Browse the repository at this point in the history
  • Loading branch information
PooSham authored and devversion committed Feb 1, 2022
1 parent b4a9cb3 commit 69491e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-dialog/dialog.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,7 @@ describe('MDC-based MatDialog', () => {
.toBe(title.id);
}));

it('should add mat-mdc-dialog-actions-align-* class according to given [align] input in [mat-dialog-actions]', () => {
it('should add correct css class according to given [align] input in [mat-dialog-actions]', () => {
let actions = overlayContainerElement.querySelector('mat-dialog-actions')!;

expect(actions)
Expand Down
2 changes: 1 addition & 1 deletion src/material/dialog/dialog.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@ describe('MatDialog', () => {
.toBe(title.id);
}));

it('should add mat-dialog-actions-align-* class according to given [align] input in [mat-dialog-actions]', () => {
it('should add correct css class according to given [align] input in [mat-dialog-actions]', () => {
let actions = overlayContainerElement.querySelector('mat-dialog-actions')!;

expect(actions)
Expand Down

0 comments on commit 69491e1

Please sign in to comment.