diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-04-09 23:35:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-09 23:35:29 +0200 |
commit | 1c7217e3909c72135020ff415e61644e20e1f62c (patch) | |
tree | e7fc2943aec824a3755dc627c7e10fa4f821a1b5 /cli/tests/unit/files_test.ts | |
parent | 0fd1fb9329512258064c3c04e3c2d990f3748834 (diff) |
chore: upgrade dependencies (#10094)
This commit upgrades:
- swc_ecmascript
- swc_bundler
- deno_doc
- deno_lint
- dprint-plugin-typescript
Diffstat (limited to 'cli/tests/unit/files_test.ts')
-rw-r--r-- | cli/tests/unit/files_test.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/tests/unit/files_test.ts b/cli/tests/unit/files_test.ts index 152068004..51ca1c579 100644 --- a/cli/tests/unit/files_test.ts +++ b/cli/tests/unit/files_test.ts @@ -1,4 +1,7 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. + +// deno-lint-ignore-file no-deprecated-deno-api + import { assert, assertEquals, @@ -477,7 +480,7 @@ unitTest( try { const buf = new Uint8Array(20); await file.read(buf); - } catch (e) { + } catch (_e) { thrown = true; } finally { assert(thrown, "'w' mode shouldn't allow to read file"); |