summaryrefslogtreecommitdiff
path: root/std/async
diff options
context:
space:
mode:
authorYusuke Tanaka <yusuktan@maguro.dev>2020-11-15 04:27:37 +0900
committerGitHub <noreply@github.com>2020-11-14 20:27:37 +0100
commit90290030469cc7f278492ece67dd783c4d380b43 (patch)
treeabf33a2bd20a8f734563f294aff3c4a440d9d49e /std/async
parent3d65e57d7c48f5dd1307f83771fe5574d914cea3 (diff)
build: update dlint to v0.2.10 (#8284)
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics for "require-await" rule. Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'std/async')
-rw-r--r--std/async/mux_async_iterator_test.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/std/async/mux_async_iterator_test.ts b/std/async/mux_async_iterator_test.ts
index 7977e4f56..51c0349cc 100644
--- a/std/async/mux_async_iterator_test.ts
+++ b/std/async/mux_async_iterator_test.ts
@@ -2,21 +2,18 @@
import { assertEquals, assertThrowsAsync } from "../testing/asserts.ts";
import { MuxAsyncIterator } from "./mux_async_iterator.ts";
-// eslint-disable-next-line require-await
async function* gen123(): AsyncIterableIterator<number> {
yield 1;
yield 2;
yield 3;
}
-// eslint-disable-next-line require-await
async function* gen456(): AsyncIterableIterator<number> {
yield 4;
yield 5;
yield 6;
}
-// eslint-disable-next-line require-await
async function* genThrows(): AsyncIterableIterator<number> {
yield 7;
throw new Error("something went wrong");