diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-28 12:33:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 12:33:09 +0200 |
commit | 8feb30e3258ed9690eb850e3ca22842b260a0403 (patch) | |
tree | 6805bfe3df675c2c7f6a379093061c6b73d8365a /std/examples/tests | |
parent | b508e845671de9351c3f51755647371d76128d29 (diff) |
BREAKING: remove overload of Deno.test() (#4951)
This commit removes overload of Deno.test() that accepted named
function.
Diffstat (limited to 'std/examples/tests')
-rw-r--r-- | std/examples/tests/xeval_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/examples/tests/xeval_test.ts b/std/examples/tests/xeval_test.ts index 38deda686..426f6fe56 100644 --- a/std/examples/tests/xeval_test.ts +++ b/std/examples/tests/xeval_test.ts @@ -9,13 +9,13 @@ import { } from "../../testing/asserts.ts"; const { execPath, run } = Deno; -Deno.test(async function xevalSuccess(): Promise<void> { +Deno.test("xevalSuccess", async function (): Promise<void> { const chunks: string[] = []; await xeval(stringsReader("a\nb\nc"), ($): number => chunks.push($)); assertEquals(chunks, ["a", "b", "c"]); }); -Deno.test(async function xevalDelimiter(): Promise<void> { +Deno.test("xevalDelimiter", async function (): Promise<void> { const chunks: string[] = []; await xeval(stringsReader("!MADMADAMADAM!"), ($): number => chunks.push($), { delimiter: "MADAM", @@ -43,7 +43,7 @@ Deno.test({ }, }); -Deno.test(async function xevalCliSyntaxError(): Promise<void> { +Deno.test("xevalCliSyntaxError", async function (): Promise<void> { const p = run({ cmd: [execPath(), xevalPath, "("], stdin: "null", |