chore(autosize): fix test name in autosize spec (#9941)

This commit is contained in:
VTHINKXIE
2018-02-20 23:37:55 +08:00
committed by Jeremy Elbourn
parent 8ff51aeb97
commit 0e11849272
+2 -2
View File
@@ -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;
@@ -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;