diff --git a/__tests__/util.test.ts b/__tests__/util.test.ts index aa3d941..e0cf658 100644 --- a/__tests__/util.test.ts +++ b/__tests__/util.test.ts @@ -31,6 +31,12 @@ describe('getInputList', () => { expect(res).toEqual(['bar']); }); + it('empty correctly', async () => { + setInput('foo', ''); + const res = Util.getInputList('foo'); + expect(res).toEqual([]); + }); + it('multiline correctly', async () => { setInput('foo', 'bar\nbaz'); const res = Util.getInputList('foo');