From c9a2a8f8bd8b3a4e373ddea1275eafe04b1ae1df Mon Sep 17 00:00:00 2001 From: Marais Rossouw Date: Wed, 29 May 2024 09:31:25 +1000 Subject: [PATCH] :construction: WIP --- utils.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils.test.ts b/utils.test.ts index a343989..7d6dd35 100644 --- a/utils.test.ts +++ b/utils.test.ts @@ -102,3 +102,8 @@ Deno.test('the value should be cached in the single interpolation', () => { assertEquals(lib.interpolate('{name} {name}', obj), '1 1'); assertEquals(i, 2); }); + +// props written between {} brackets +// Only valid names are allowed +// brackets can be escaped +// numbers are indexs for an array