diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-11-25 02:23:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-25 02:23:03 +0100 |
commit | 1193d46485db35a1161e85515795340240a64201 (patch) | |
tree | 946214a138b81d10b4c382f31c4e5315150ec098 /cli/tests/unit/buffer_test.ts | |
parent | e68a241946f8fd6602b9d1a99c4b8fa7ead159ef (diff) |
tests: add 'await' to all invocations of 'assertRejects' (#12893)
Diffstat (limited to 'cli/tests/unit/buffer_test.ts')
-rw-r--r-- | cli/tests/unit/buffer_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit/buffer_test.ts b/cli/tests/unit/buffer_test.ts index 34116e5ce..a94bb72b2 100644 --- a/cli/tests/unit/buffer_test.ts +++ b/cli/tests/unit/buffer_test.ts @@ -301,7 +301,7 @@ Deno.test(async function bufferReadFrom() { const fub = new Uint8Array(testString.length); await empty(b, s, fub); } - assertRejects(async function () { + await assertRejects(async function () { await new Deno.Buffer().readFrom(null!); }); }); |