« get me outta code hell

test: linkTemplate: test special chars in path argument - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshot
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-07-16 12:08:09 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-07-16 12:08:09 -0300
commitb10e29d45ef233137132453902b46cfe0be679d0 (patch)
tree6b63c5acba3d7868081f2257c02e590176843fad /test/snapshot
parentb99b524fdffbe72513ac7bfab6308c41d28154d6 (diff)
test: linkTemplate: test special chars in path argument
Diffstat (limited to 'test/snapshot')
-rw-r--r--test/snapshot/linkTemplate.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/snapshot/linkTemplate.js b/test/snapshot/linkTemplate.js
index bef0935c..1db4582e 100644
--- a/test/snapshot/linkTemplate.js
+++ b/test/snapshot/linkTemplate.js
@@ -32,4 +32,15 @@ testContentFunctions(t, 'linkTemplate (snapshot)', async (t, evaluate) => {
       path: ['myCoolPath', 'ham', 'pineapple', 'tomato'],
     },
   });
+
+  evaluate.snapshot('special characters in path argument', {
+    name: 'linkTemplate',
+    slots: {
+      path: [
+        'media.albumAdditionalFile',
+        'homestuck-vol-1',
+        'Showtime (Piano Refrain) - #xXxAwesomeSheetMusick?rxXx#.pdf',
+      ],
+    },
+  });
 });