summaryrefslogtreecommitdiff
path: root/std/examples/test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/examples/test.ts')
-rw-r--r--std/examples/test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/examples/test.ts b/std/examples/test.ts
index 6e26407fb..acda9293d 100644
--- a/std/examples/test.ts
+++ b/std/examples/test.ts
@@ -3,16 +3,16 @@ const { run } = Deno;
import { assertEquals } from "../testing/asserts.ts";
/** Example of how to do basic tests */
-Deno.test(function t1(): void {
+Deno.test("t1", function (): void {
assertEquals("hello", "hello");
});
-Deno.test(function t2(): void {
+Deno.test("t2", function (): void {
assertEquals("world", "world");
});
/** A more complicated test that runs a subprocess. */
-Deno.test(async function catSmoke(): Promise<void> {
+Deno.test("catSmoke", async function (): Promise<void> {
const p = run({
cmd: [
Deno.execPath(),