From 93652d7af097f472b9ffde6f8c903368d47277cd Mon Sep 17 00:00:00 2001 From: Federico Builes Date: Tue, 15 Nov 2022 22:28:50 +0100 Subject: [PATCH] Fix failing tests. --- __tests__/config.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/config.test.ts b/__tests__/config.test.ts index af606b3..24940f0 100644 --- a/__tests__/config.test.ts +++ b/__tests__/config.test.ts @@ -240,14 +240,14 @@ describe('licenses that are not valid SPDX licenses', () => { test('it raises an error for invalid licenses in allow-licenses', async () => { setInput('allow-licenses', ' BSD, GPL 2') await expect(readConfig()).rejects.toThrow( - 'Invalid license(s) in allow-licenses: BSD, GPL 2' + 'Invalid license(s) in allow-licenses: BSD,GPL 2' ) }) test('it raises an error for invalid licenses in deny-licenses', async () => { setInput('deny-licenses', ' BSD, GPL 2') await expect(readConfig()).rejects.toThrow( - 'Invalid license(s) in deny-licenses: BSD, GPL 2' + 'Invalid license(s) in deny-licenses: BSD,GPL 2' ) })