From 5deabd42ad8ca2fc049a4ccb24a7892b0dcc7356 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 17 Feb 2024 21:10:11 -0400 Subject: test: transformContent: escaping tests (snapshot) --- .../test/snapshot/transformContent.js.test.cjs | 17 +++++++++++++++++ test/snapshot/transformContent.js | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/tap-snapshots/test/snapshot/transformContent.js.test.cjs b/tap-snapshots/test/snapshot/transformContent.js.test.cjs index 8dfa7b0f..8d29d967 100644 --- a/tap-snapshots/test/snapshot/transformContent.js.test.cjs +++ b/tap-snapshots/test/snapshot/transformContent.js.test.cjs @@ -5,11 +5,28 @@ * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' +exports[`test/snapshot/transformContent.js > TAP > transformContent (snapshot) > basic markdown 1`] = ` +

Hello world! This is SO COOL.

+` + exports[`test/snapshot/transformContent.js > TAP > transformContent (snapshot) > dates 1`] = `

Yep!

Very nice:

` +exports[`test/snapshot/transformContent.js > TAP > transformContent (snapshot) > escape end of tag 1`] = ` +

My favorite album is [Tactical Omission].

+

Your favorite album is [Tactical Wha-Huh-Now].

+` + +exports[`test/snapshot/transformContent.js > TAP > transformContent (snapshot) > escape entire tag 1`] = ` +

[[album:cool-album|spooky]] scary

+` + +exports[`test/snapshot/transformContent.js > TAP > transformContent (snapshot) > escape markdown 1`] = ` +

What will it be, ye fool? *arr*

+` + exports[`test/snapshot/transformContent.js > TAP > transformContent (snapshot) > hanging indent list 1`] = `

Hello!