From eeeb9f97a9b517f5ed76267bb50d4d141c72c251 Mon Sep 17 00:00:00 2001 From: btheado Date: Sat, 6 Jul 2024 09:22:28 -0400 Subject: [PATCH] Add testcase to illustrate the bug in #8330 (#8336) * Add testcase to illustrate the bug in #8330 * Move new testcase to tw5.com edition --- .../DataWidget/FilterMissingTiddler.tid | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 editions/tw5.com/tiddlers/testcases/DataWidget/FilterMissingTiddler.tid diff --git a/editions/tw5.com/tiddlers/testcases/DataWidget/FilterMissingTiddler.tid b/editions/tw5.com/tiddlers/testcases/DataWidget/FilterMissingTiddler.tid new file mode 100644 index 000000000..5c8f242fc --- /dev/null +++ b/editions/tw5.com/tiddlers/testcases/DataWidget/FilterMissingTiddler.tid @@ -0,0 +1,17 @@ +title: TestCases/DataWidget/FilterMissingTiddler +type: text/vnd.tiddlywiki-multiple +tags: [[$:/tags/wiki-test-spec]] +description: Filter returns title of missing tiddler +display-format: plaintext + +title: Narrative + +When the $filter attribute of the data widget returns the title of a missing tiddler, no tiddler should be added to the output array of tiddlers. ++ +title: Output + +<$data $filter="missing"/> ++ +title: ExpectedResult + +

[]

\ No newline at end of file