From 820ade3bbf01dab368016543292faba8182ebf55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=A7=E8=A1=A1?= Date: Wed, 14 Feb 2018 18:04:21 +0800 Subject: [PATCH] test(module:input): fix test name in autosize spec --- src/lib/input/autosize.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/input/autosize.spec.ts b/src/lib/input/autosize.spec.ts index 0f3517e54b7a..2226951dd068 100644 --- a/src/lib/input/autosize.spec.ts +++ b/src/lib/input/autosize.spec.ts @@ -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;