From f29de0cb443f9f1e8778b2d1e4a60046f34432c1 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 23 Jan 2026 23:05:05 +0000 Subject: [PATCH] Split the tests for clarity --- .../tests/data/element-mapping/Basic.tid | 3 +-- .../data/element-mapping/BasicWithClass.tid | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 editions/test/tiddlers/tests/data/element-mapping/BasicWithClass.tid diff --git a/editions/test/tiddlers/tests/data/element-mapping/Basic.tid b/editions/test/tiddlers/tests/data/element-mapping/Basic.tid index 2b5298ce8..3c89d64e9 100644 --- a/editions/test/tiddlers/tests/data/element-mapping/Basic.tid +++ b/editions/test/tiddlers/tests/data/element-mapping/Basic.tid @@ -9,11 +9,10 @@ title: Output \define tv-map-p() div -\define tv-map-p-class() my-class This is a paragraph + title: ExpectedResult -
This is a paragraph
\ No newline at end of file +
This is a paragraph
\ No newline at end of file diff --git a/editions/test/tiddlers/tests/data/element-mapping/BasicWithClass.tid b/editions/test/tiddlers/tests/data/element-mapping/BasicWithClass.tid new file mode 100644 index 000000000..8e8a1302b --- /dev/null +++ b/editions/test/tiddlers/tests/data/element-mapping/BasicWithClass.tid @@ -0,0 +1,19 @@ +title: ElementMapping/BasicWithClass +description: Mapping one element to another with an added class +type: text/vnd.tiddlywiki-multiple +tags: [[$:/tags/wiki-test-spec]] + +title: Output + +\whitespace trim + + +\define tv-map-p() div +\define tv-map-p-class() my-class + +This is a paragraph + ++ +title: ExpectedResult + +
This is a paragraph
\ No newline at end of file