Skip to content

Commit 04b029c

Browse files
marclavalmmalerba
authored andcommitted
test(input): make the type validation test to pass in Ivy (#15461)
1 parent a3f4f43 commit 04b029c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/input/input.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,10 +1621,10 @@ class MatInputHintLabelTestController {
16211621
label: string = '';
16221622
}
16231623

1624-
@Component({
1625-
template: `<mat-form-field><input matInput type="file"></mat-form-field>`
1626-
})
1627-
class MatInputInvalidTypeTestController {}
1624+
@Component({template: `<mat-form-field><input matInput [type]="t"></mat-form-field>`})
1625+
class MatInputInvalidTypeTestController {
1626+
t = 'file';
1627+
}
16281628

16291629
@Component({
16301630
template: `

0 commit comments

Comments
 (0)