summaryrefslogtreecommitdiff
path: root/cli/tests/unit/buffer_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-11-25 02:23:03 +0100
committerGitHub <noreply@github.com>2021-11-25 02:23:03 +0100
commit1193d46485db35a1161e85515795340240a64201 (patch)
tree946214a138b81d10b4c382f31c4e5315150ec098 /cli/tests/unit/buffer_test.ts
parente68a241946f8fd6602b9d1a99c4b8fa7ead159ef (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.ts2
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!);
});
});