Skip to content

Commit 0e11849

Browse files
vthinkxiejelbourn
authored andcommitted
chore(autosize): fix test name in autosize spec (#9941)
1 parent 8ff51ae commit 0e11849

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/input/autosize.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('MatTextareaAutosize', () => {
8484
.toBe(textarea.scrollHeight, 'Expected textarea height to match its scrollHeight');
8585
});
8686

87-
it('should set a min-width based on minRows', () => {
87+
it('should set a min-height based on minRows', () => {
8888
expect(textarea.style.minHeight).toBeFalsy();
8989

9090
fixture.componentInstance.minRows = 4;
@@ -100,7 +100,7 @@ describe('MatTextareaAutosize', () => {
100100
.toBeGreaterThan(previousMinHeight, 'Expected increased min-height with minRows increase.');
101101
});
102102

103-
it('should set a max-width based on maxRows', () => {
103+
it('should set a max-height based on maxRows', () => {
104104
expect(textarea.style.maxHeight).toBeFalsy();
105105

106106
fixture.componentInstance.maxRows = 4;

0 commit comments

Comments
 (0)