Browse Source

feat(tell-me-who): improve test

- make error message "actual" and "expected" coherent
pull/2018/head
nprimo 1 year ago committed by Niccolò Primo
parent
commit
c120b69619
  1. 2
      js/tests/tell-me-who_test.mjs

2
js/tests/tell-me-who_test.mjs

@ -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'),
)
})

Loading…
Cancel
Save