Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib/input/autosize.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ describe('MatTextareaAutosize', () => {
.toBe(textarea.scrollHeight, 'Expected textarea height to match its scrollHeight');
});

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

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

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

fixture.componentInstance.maxRows = 4;
Expand Down