diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
| commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
| tree | cc7830968c6decde704c8cfb83c9185193dc698f /std/testing/README.md | |
| parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) | |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/testing/README.md')
| -rw-r--r-- | std/testing/README.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/std/testing/README.md b/std/testing/README.md index 0e0ee14e7..bc9d8af33 100644 --- a/std/testing/README.md +++ b/std/testing/README.md @@ -90,7 +90,7 @@ Deno.test("doesThrow", function (): void { throw new TypeError("hello world!"); }, TypeError, - "hello" + "hello", ); }); @@ -109,7 +109,7 @@ Deno.test("doesThrow", async function (): Promise<void> { await assertThrowsAsync( async (): Promise<void> => { throw new TypeError("hello world!"); - } + }, ); await assertThrowsAsync(async (): Promise<void> => { throw new TypeError("hello world!"); @@ -119,12 +119,12 @@ Deno.test("doesThrow", async function (): Promise<void> { throw new TypeError("hello world!"); }, TypeError, - "hello" + "hello", ); await assertThrowsAsync( async (): Promise<void> => { return Promise.reject(new Error()); - } + }, ); }); @@ -133,7 +133,7 @@ Deno.test("fails", async function (): Promise<void> { await assertThrowsAsync( async (): Promise<void> => { console.log("Hello world"); - } + }, ); }); ``` @@ -214,7 +214,7 @@ runBenchmarks({ silent: true }, (p: BenchmarkRunProgress) => { // initial progress data if (p.state === ProgressState.BenchmarkingStart) { console.log( - `Starting benchmarking. Queued: ${p.queued.length}, filtered: ${p.filtered}` + `Starting benchmarking. Queued: ${p.queued.length}, filtered: ${p.filtered}`, ); } // ... |
