« get me outta code hell

html: standard blank() function - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/unit
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-04-05 15:41:38 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-04-05 15:41:38 -0300
commit17f1220718f0e736723108042fc00cd5cb90070d (patch)
tree935e5cd02baab0ca20ae9c4e694a4874ce51f6bb /test/unit
parent575fef166cfe915b743d89a2007e259c3fcb4904 (diff)
html: standard blank() function
For now this just returns an empty array, but if we need to make
changes later, it won't require editing all instances of blank
content!
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/util/html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/util/html.js b/test/unit/util/html.js
index c26d53b2..9925d2da 100644
--- a/test/unit/util/html.js
+++ b/test/unit/util/html.js
@@ -29,7 +29,7 @@ t.test(`html.tag`, t => {
   let genericSlot;
   const genericTemplate = html.template(slot => {
     genericSlot = slot('title');
-    return [];
+    return html.blank();
   });
 
   // 9-10: tag treated as content, not attributes