Update lint.test.ts

This commit is contained in:
freearhey 2023-10-15 10:43:02 +03:00
parent 1757fa378c
commit e9ab520040

View file

@ -15,7 +15,7 @@ describe('channels:lint', () => {
} catch (error) { } catch (error) {
expect((error as ExecError).status).toBe(1) expect((error as ExecError).status).toBe(1)
expect((error as ExecError).stdout).toContain( expect((error as ExecError).stdout).toContain(
"tests/__data__/input/channels-lint/channels-lint.channels.xml\n 3:0 Element 'channel': The attribute 'lang' is required but missing.\n\n1 error(s)\n" "channels-lint.channels.xml\n 3:0 Element 'channel': The attribute 'lang' is required but missing.\n\n1 error(s)\n"
) )
} }
}) })