mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 10:33:54 +00:00
refactor: move out test files from root testdata directory into sub directories (#15949)
This commit is contained in:
parent
8d50c09c0d
commit
1464b756a4
816 changed files with 2430 additions and 2425 deletions
|
@ -41,10 +41,10 @@ Deno.test({ permissions: { read: false } }, function readDirSyncPerm() {
|
|||
Deno.test({ permissions: { read: true } }, function readDirSyncNotDir() {
|
||||
assertThrows(
|
||||
() => {
|
||||
Deno.readDirSync("cli/tests/testdata/fixture.json");
|
||||
Deno.readDirSync("cli/tests/testdata/assets/fixture.json");
|
||||
},
|
||||
Error,
|
||||
`readdir 'cli/tests/testdata/fixture.json'`,
|
||||
`readdir 'cli/tests/testdata/assets/fixture.json'`,
|
||||
);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue