From 70e807083d0b1ca9935ac85b50fbb92388a9f54f Mon Sep 17 00:00:00 2001 From: vrugtehagel Date: Thu, 11 Dec 2025 14:16:01 +0100 Subject: [PATCH] Remove extra space in JS code block within tests --- test/function.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/function.test.ts b/test/function.test.ts index f4cb627..cc0018d 100644 --- a/test/function.test.ts +++ b/test/function.test.ts @@ -58,7 +58,7 @@ Deno.test("Function tag (async)", async () => { await test({ template: ` {{ async function hello }} - {{ > const text = await Promise.resolve("Hello world") }} + {{> const text = await Promise.resolve("Hello world") }} {{ text }} {{ /function }} @@ -86,7 +86,7 @@ Deno.test("Function scope is respected", async () => { await test({ template: ` {{ export function hello }} - {{ > const message = "Hello world" }} + {{> const message = "Hello world" }} {{ /export }} {{ message }} @@ -97,7 +97,7 @@ Deno.test("Function scope is respected", async () => { await test({ template: ` {{ function hello }} - {{ > const message = "I shouldn't print" }} + {{> const message = "I shouldn't print" }} {{ /function }} {{> const message = "Hello world" }}