Skip to content

Commit 9d5e840

Browse files
committed
test: Update data for docs_sample_for_task_properties_reference.md (#3580)
1 parent 4487ebe commit 9d5e840

File tree

2 files changed

+61
-47
lines changed

2 files changed

+61
-47
lines changed

tests/DocumentationSamples/DefaultsDocs/DocsSamplesForDefaults.test.DocsSamplesForDefaults_interpret_properties.approved.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,9 @@ tags:
2222
- tag-from-file-properties
2323
creation date: 2024-05-25T15:17:00
2424
project: Secret Project
25+
nested_data:
26+
surname: "Doe"
27+
firstname: "Jane"
28+
middle name: "Frances"
29+
object_serialization: {"nested1": "value1", "nested2": "value2"}
2530
---

tests/Obsidian/__test_data__/docs_sample_for_task_properties_reference.json

Lines changed: 56 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55
"YAML All Property Types Populated"
66
],
77
"creation date": "2024-05-25T15:17:00",
8+
"nested_data": {
9+
"firstname": "Jane",
10+
"middle name": "Frances",
11+
"surname": "Doe"
12+
},
13+
"object_serialization": {
14+
"nested1": "value1",
15+
"nested2": "value2"
16+
},
817
"project": "Secret Project",
918
"sample_checkbox_property": true,
1019
"sample_date_and_time_property": "2024-07-21T12:37:00",
@@ -49,8 +58,8 @@
4958
"frontmatterPosition": {
5059
"end": {
5160
"col": 3,
52-
"line": 24,
53-
"offset": 614
61+
"line": 29,
62+
"offset": 754
5463
},
5564
"start": {
5665
"col": 0,
@@ -65,46 +74,46 @@
6574
"position": {
6675
"end": {
6776
"col": 43,
68-
"line": 26,
69-
"offset": 659
77+
"line": 31,
78+
"offset": 799
7079
},
7180
"start": {
7281
"col": 0,
73-
"line": 26,
74-
"offset": 616
82+
"line": 31,
83+
"offset": 756
7584
}
7685
}
7786
}
7887
],
7988
"listItems": [
8089
{
81-
"parent": -30,
90+
"parent": -35,
8291
"position": {
8392
"end": {
8493
"col": 83,
85-
"line": 30,
86-
"offset": 765
94+
"line": 35,
95+
"offset": 905
8796
},
8897
"start": {
8998
"col": 0,
90-
"line": 30,
91-
"offset": 682
99+
"line": 35,
100+
"offset": 822
92101
}
93102
},
94103
"task": " "
95104
},
96105
{
97-
"parent": -30,
106+
"parent": -35,
98107
"position": {
99108
"end": {
100109
"col": 71,
101-
"line": 31,
102-
"offset": 837
110+
"line": 36,
111+
"offset": 977
103112
},
104113
"start": {
105114
"col": 0,
106-
"line": 31,
107-
"offset": 766
115+
"line": 36,
116+
"offset": 906
108117
}
109118
},
110119
"task": " "
@@ -115,8 +124,8 @@
115124
"position": {
116125
"end": {
117126
"col": 3,
118-
"line": 24,
119-
"offset": 614
127+
"line": 29,
128+
"offset": 754
120129
},
121130
"start": {
122131
"col": 0,
@@ -130,13 +139,13 @@
130139
"position": {
131140
"end": {
132141
"col": 43,
133-
"line": 26,
134-
"offset": 659
142+
"line": 31,
143+
"offset": 799
135144
},
136145
"start": {
137146
"col": 0,
138-
"line": 26,
139-
"offset": 616
147+
"line": 31,
148+
"offset": 756
140149
}
141150
},
142151
"type": "heading"
@@ -145,13 +154,13 @@
145154
"position": {
146155
"end": {
147156
"col": 19,
148-
"line": 28,
149-
"offset": 680
157+
"line": 33,
158+
"offset": 820
150159
},
151160
"start": {
152161
"col": 0,
153-
"line": 28,
154-
"offset": 661
162+
"line": 33,
163+
"offset": 801
155164
}
156165
},
157166
"type": "paragraph"
@@ -160,13 +169,13 @@
160169
"position": {
161170
"end": {
162171
"col": 71,
163-
"line": 31,
164-
"offset": 837
172+
"line": 36,
173+
"offset": 977
165174
},
166175
"start": {
167176
"col": 0,
168-
"line": 30,
169-
"offset": 682
177+
"line": 35,
178+
"offset": 822
170179
}
171180
},
172181
"type": "list"
@@ -177,13 +186,13 @@
177186
"position": {
178187
"end": {
179188
"col": 19,
180-
"line": 28,
181-
"offset": 680
189+
"line": 33,
190+
"offset": 820
182191
},
183192
"start": {
184193
"col": 0,
185-
"line": 28,
186-
"offset": 661
194+
"line": 33,
195+
"offset": 801
187196
}
188197
},
189198
"tag": "#tag-from-file-body"
@@ -192,13 +201,13 @@
192201
"position": {
193202
"end": {
194203
"col": 11,
195-
"line": 30,
196-
"offset": 693
204+
"line": 35,
205+
"offset": 833
197206
},
198207
"start": {
199208
"col": 6,
200-
"line": 30,
201-
"offset": 688
209+
"line": 35,
210+
"offset": 828
202211
}
203212
},
204213
"tag": "#task"
@@ -207,13 +216,13 @@
207216
"position": {
208217
"end": {
209218
"col": 83,
210-
"line": 30,
211-
"offset": 765
219+
"line": 35,
220+
"offset": 905
212221
},
213222
"start": {
214223
"col": 64,
215-
"line": 30,
216-
"offset": 746
224+
"line": 35,
225+
"offset": 886
217226
}
218227
},
219228
"tag": "#tag-from-task-line"
@@ -222,20 +231,20 @@
222231
"position": {
223232
"end": {
224233
"col": 11,
225-
"line": 31,
226-
"offset": 777
234+
"line": 36,
235+
"offset": 917
227236
},
228237
"start": {
229238
"col": 6,
230-
"line": 31,
231-
"offset": 772
239+
"line": 36,
240+
"offset": 912
232241
}
233242
},
234243
"tag": "#task"
235244
}
236245
]
237246
},
238-
"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",
247+
"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\nnested_data:\n surname: \"Doe\"\n firstname: \"Jane\"\n middle name: \"Frances\"\nobject_serialization: {\"nested1\": \"value1\", \"nested2\": \"value2\"}\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",
239248
"filePath": "Test Data/docs_sample_for_task_properties_reference.md",
240249
"getAllTags": [
241250
"#tag-from-file-properties",

0 commit comments

Comments
 (0)