mirror of https://github.com/01-edu/public.git
feat(tell-me-who): improve test
- make error message "actual" and "expected" coherent
This commit is contained in:
parent
5e414d6777
commit
c120b69619
|
@ -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…
Reference in New Issue