Skip to content

Commit 2fb2437

Browse files
committed
test: Remove '"v": 1' from tests/Obsidian/__test_data__/*.json
By doing Settings > Files and links > Advanced > Rebuild vault cache This should give me stable contents for these files now.
1 parent 8fbb080 commit 2fb2437

File tree

64 files changed

+64
-128
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+64
-128
lines changed

tests/Obsidian/__test_data__/blockquote.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@
115115
},
116116
"tag": "#task"
117117
}
118-
],
119-
"v": 1
118+
]
120119
},
121120
"fileContents": "# blockquote\n\n> - [ ] #task Task in 'blockquote'\n> - [ ] #task Task indented in 'blockquote'\n",
122121
"filePath": "Test Data/blockquote.md",

tests/Obsidian/__test_data__/callout.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@
130130
},
131131
"tag": "#task"
132132
}
133-
],
134-
"v": 1
133+
]
135134
},
136135
"fileContents": "# callout\n\n> [!todo]\n> - [ ] #task Task in 'callout'\n> - [ ] #task Task indented in 'callout'\n\n```tasks\nnot done\npath includes {{query.file.path}}\n```\n",
137136
"filePath": "Test Data/callout.md",

tests/Obsidian/__test_data__/callout_custom.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@
130130
},
131131
"tag": "#task"
132132
}
133-
],
134-
"v": 1
133+
]
135134
},
136135
"fileContents": "# callout_custom\n\n> [!callout_custom]\n> - [ ] #task Task in 'callout_custom'\n> - [ ] #task Task indented in 'callout_custom'\n\n```tasks\nnot done\npath includes {{query.file.path}}\n```\n",
137136
"filePath": "Test Data/callout_custom.md",

tests/Obsidian/__test_data__/callout_labelled.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@
130130
},
131131
"tag": "#task"
132132
}
133-
],
134-
"v": 1
133+
]
135134
},
136135
"fileContents": "# callout_labelled\n\n> [!todo] callout_labelled\n> - [ ] #task Task in 'callout_labelled'\n> - [ ] #task Task indented in 'callout_labelled'\n\n```tasks\nnot done\npath includes {{query.file.path}}\n```\n",
137136
"filePath": "Test Data/callout_labelled.md",

tests/Obsidian/__test_data__/callouts_nested_issue_2890_labelled.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,7 @@
159159
},
160160
"tag": "#task"
161161
}
162-
],
163-
"v": 1
162+
]
164163
},
165164
"fileContents": " > [!Calendar]+ MONTH\n >> [!Check]+ GROUP\n >>> [!Attention]+ Correction TITLE\n >>> Some stuff goes here\n >>> - [ ] #task Correction1\n >>> - [ ] #task Correction2\n >>> - [ ] #task Correction3\n >>> - [ ] #task Correction4\n\n```tasks\nnot done\npath includes {{query.file.path}}\n```\n",
166165
"filePath": "Test Data/callouts_nested_issue_2890_labelled.md",

tests/Obsidian/__test_data__/callouts_nested_issue_2890_unlabelled.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,7 @@
159159
},
160160
"tag": "#task"
161161
}
162-
],
163-
"v": 1
162+
]
164163
},
165164
"fileContents": " > [!Calendar]+\n >> [!Check]+\n >>> [!Attention]+\n >>> Some stuff goes here\n >>> - [ ] #task Correction1\n >>> - [ ] #task Correction2\n >>> - [ ] #task Correction3\n >>> - [ ] #task Correction4\n\n```tasks\nnot done\npath includes {{query.file.path}}\n```\n",
166165
"filePath": "Test Data/callouts_nested_issue_2890_unlabelled.md",

tests/Obsidian/__test_data__/comments_html_style.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@
145145
},
146146
"tag": "#task"
147147
}
148-
],
149-
"v": 1
148+
]
150149
},
151150
"fileContents": "# comments_html_style\n\nWhole task line is ignored by Obsidian's `cachedMetadata`:\n<!--\n- [ ] #task Whole task in 'comments_html_style'\n-->\n\n- [ ] #task Whole task in 'comments_html_style' - with commented-out tag: <!-- #i-am-ignored-by-obsidian --> - is ignored by Obsidian's `cachedMetadata`, but Tasks recognises it\n- [ ] #task Whole task in 'comments_html_style' - with commented-out link: <!-- [[comments_markdown_style]] --> - is ignored by Obsidian's `cachedMetadata`\n",
152151
"filePath": "Test Data/comments_html_style.md",

tests/Obsidian/__test_data__/comments_markdown_style.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,7 @@
194194
},
195195
"tag": "#task"
196196
}
197-
],
198-
"v": 1
197+
]
199198
},
200199
"fileContents": "# comments_markdown_style\n\nWhole task line is ignored by Obsidian's `cachedMetadata`:\n%%\n- [ ] #task Whole task in 'comments_markdown_style'\n%%\n\n- [ ] #task Whole task in 'comments_markdown_style' - with commented-out tag: %% #i-am-parsed-by-obsidian %% - is recognised by Obsidian's `cachedMetadata`\n- [ ] #task Whole task in 'comments_markdown_style' - with commented-out link: %% [[comments_html_style]] %% - is recognised by Obsidian's `cachedMetadata`\n",
201200
"filePath": "Test Data/comments_markdown_style.md",

tests/Obsidian/__test_data__/docs_sample_for_task_properties_reference.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,7 @@
233233
},
234234
"tag": "#task"
235235
}
236-
],
237-
"v": 1
236+
]
238237
},
239238
"fileContents": "---\nsample_checkbox_property: true\nsample_date_property: 2024-07-21\nsample_date_and_time_property: 2024-07-21T12:37:00\nsample_list_property:\n - Sample\n - List\n - Value\nsample_number_property: 246\nsample_text_property: Sample Text Value\nsample_text_multiline_property: |\n Sample\n Text\n Value\nsample_link_property: \"[[yaml_all_property_types_populated]]\"\nsample_link_list_property:\n - \"[[yaml_all_property_types_populated]]\"\n - \"[[yaml_all_property_types_empty]]\"\naliases:\n - YAML All Property Types Populated\ntags:\n - tag-from-file-properties\ncreation date: 2024-05-25T15:17:00\nproject: Secret Project\n---\n\n# docs_sample_for_task_properties_reference\n\n#tag-from-file-body\n\n- [ ] #task Task in 'docs_sample_for_task_properties_reference' #tag-from-task-line\n- [ ] #task Another task in 'docs_sample_for_task_properties_reference'\n",
240239
"filePath": "Test Data/docs_sample_for_task_properties_reference.md",

tests/Obsidian/__test_data__/empty_yaml.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@
9999
},
100100
"tag": "#task"
101101
}
102-
],
103-
"v": 1
102+
]
104103
},
105104
"fileContents": "---\n---\n\n# empty_yaml\n\n- [ ] #task Task in 'empty_yaml'\n",
106105
"filePath": "Test Data/empty_yaml.md",

0 commit comments

Comments
 (0)