« get me outta code hell

content: linkTemplate: display message when content missing - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/tap-snapshots/test
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-08-08 20:53:56 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-08-08 20:53:56 -0300
commit063d985d6ac4da4547e335a9c8740a1ec9f21570 (patch)
treec9291ca0bb39238646b573dec47d54772e4878b8 /tap-snapshots/test
parent31a15f783f915811990cefb90fe1661293c49f3d (diff)
content: linkTemplate: display message when content missing
Diffstat (limited to 'tap-snapshots/test')
-rw-r--r--tap-snapshots/test/snapshot/linkTemplate.js.test.cjs8
1 files changed, 6 insertions, 2 deletions
diff --git a/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs b/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs
index a9c1b678..e9d22ba5 100644
--- a/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs
+++ b/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs
@@ -10,9 +10,13 @@ exports[`test/snapshot/linkTemplate.js TAP linkTemplate (snapshot) > fill many s
 `
 
 exports[`test/snapshot/linkTemplate.js TAP linkTemplate (snapshot) > fill path slot & provide appendIndexHTML 1`] = `
-<a href="/c*lzone/myCoolPath/ham/pineapple/tomato/index.html"></a>
+<a href="/c*lzone/myCoolPath/ham/pineapple/tomato/index.html">delish</a>
+`
+
+exports[`test/snapshot/linkTemplate.js TAP linkTemplate (snapshot) > missing content 1`] = `
+<a href="banana">(Missing link content)</a>
 `
 
 exports[`test/snapshot/linkTemplate.js TAP linkTemplate (snapshot) > special characters in path argument 1`] = `
-<a href="media/album-additional/homestuck-vol-1/Showtime%20(Piano%20Refrain)%20-%20%23xXxAwesomeSheetMusick%3FrxXx%23.pdf"></a>
+<a href="media/album-additional/homestuck-vol-1/Showtime%20(Piano%20Refrain)%20-%20%23xXxAwesomeSheetMusick%3FrxXx%23.pdf">Damn, that's some good sheet music</a>
 `