test: fix stdin.test.ts pattern (#5001)

This commit is contained in:
Ari Perkkiö 2024-01-19 07:26:26 +02:00 committed by GitHub
parent 7d0a469290
commit a4ae57440a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ test('filter by filename', async () => {
vitest.write('math')
await vitest.waitForStdout('Pattern matches 1 results')
await vitest.waitForStdout('Pattern matches 1 result')
await vitest.waitForStdout(' math.test.ts')
vitest.write('\n')
@ -64,7 +64,7 @@ test('filter by test name', async () => {
await vitest.waitForStdout('Input test name pattern')
vitest.write('sum')
await vitest.waitForStdout('Pattern matches 1 results')
await vitest.waitForStdout('Pattern matches 1 result')
await vitest.waitForStdout(' sum')
vitest.write('\n')