feat(tell-me-who): improve test

- make error message "actual" and "expected" coherent
This commit is contained in:
nprimo 2023-05-15 09:41:00 +01:00 committed by Niccolò Primo
parent 5e414d6777
commit c120b69619
1 changed files with 1 additions and 1 deletions

View File

@ -44,6 +44,7 @@ tests.push(async ({ eq, ctx, randStr, upperFirst }) => {
const { stdout } = await ctx.run(dirName)
return eq(
stdout.split('\n'),
[
`1. Ballard Ubaid`,
`2. Chan Victoria`,
@ -51,7 +52,6 @@ tests.push(async ({ eq, ctx, randStr, upperFirst }) => {
`4. Hamilton ${random}`,
`5. Mullen Dominika`,
],
stdout.split('\n'),
)
})