0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

docs: fix test glob pattern (#5661)

This commit is contained in:
Maple Miao 2020-05-21 13:02:32 +08:00 committed by GitHub
parent 11e3d70c85
commit 9fdc6dc435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1030,7 +1030,7 @@ report results to standard output:
deno test src/fetch_test.ts src/signal_test.ts
Directory arguments are expanded to all contained files matching the glob
{*_,}test.{js,ts,jsx,tsx}:
{*_,*.,}test.{js,ts,jsx,tsx}:
deno test src/",
)
}

View file

@ -100,6 +100,6 @@ deno test my_test.ts
```
You can also omit the file name, in which case all tests in the current
directory (recursively) that match the glob `{*_,}test.{js,ts,jsx,tsx}` will be
run. If you pass a directory, all files in the directory that match this glob
directory (recursively) that match the glob `{*_,*.,}test.{js,ts,jsx,tsx}` will
be run. If you pass a directory, all files in the directory that match this glob
will be run.