Skip to content

Commit 0644864

Browse files
committed
test: - fix typo in test data - does not affect any tests
1 parent dc8e322 commit 0644864

File tree

2 files changed

+43
-43
lines changed

2 files changed

+43
-43
lines changed

resources/sample_vaults/Tasks-Demo/Test Data/multiple_headings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# multiple_headings
22

3-
## Level 2 heading with no taks
3+
## Level 2 heading with no tasks
44

55
## Level 2 heading
66

tests/Obsidian/__test_data__/multiple_headings.json

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
}
1919
},
2020
{
21-
"heading": "Level 2 heading with no taks",
21+
"heading": "Level 2 heading with no tasks",
2222
"level": 2,
2323
"position": {
2424
"end": {
25-
"col": 31,
25+
"col": 32,
2626
"line": 2,
27-
"offset": 52
27+
"offset": 53
2828
},
2929
"start": {
3030
"col": 0,
@@ -40,12 +40,12 @@
4040
"end": {
4141
"col": 18,
4242
"line": 4,
43-
"offset": 72
43+
"offset": 73
4444
},
4545
"start": {
4646
"col": 0,
4747
"line": 4,
48-
"offset": 54
48+
"offset": 55
4949
}
5050
}
5151
},
@@ -56,12 +56,12 @@
5656
"end": {
5757
"col": 19,
5858
"line": 13,
59-
"offset": 344
59+
"offset": 345
6060
},
6161
"start": {
6262
"col": 0,
6363
"line": 13,
64-
"offset": 325
64+
"offset": 326
6565
}
6666
}
6767
}
@@ -73,12 +73,12 @@
7373
"end": {
7474
"col": 71,
7575
"line": 6,
76-
"offset": 145
76+
"offset": 146
7777
},
7878
"start": {
7979
"col": 0,
8080
"line": 6,
81-
"offset": 74
81+
"offset": 75
8282
}
8383
},
8484
"task": " "
@@ -89,12 +89,12 @@
8989
"end": {
9090
"col": 71,
9191
"line": 7,
92-
"offset": 217
92+
"offset": 218
9393
},
9494
"start": {
9595
"col": 0,
9696
"line": 7,
97-
"offset": 146
97+
"offset": 147
9898
}
9999
},
100100
"task": " "
@@ -105,12 +105,12 @@
105105
"end": {
106106
"col": 71,
107107
"line": 11,
108-
"offset": 323
108+
"offset": 324
109109
},
110110
"start": {
111111
"col": 0,
112112
"line": 11,
113-
"offset": 252
113+
"offset": 253
114114
}
115115
},
116116
"task": " "
@@ -121,12 +121,12 @@
121121
"end": {
122122
"col": 75,
123123
"line": 15,
124-
"offset": 421
124+
"offset": 422
125125
},
126126
"start": {
127127
"col": 0,
128128
"line": 15,
129-
"offset": 346
129+
"offset": 347
130130
}
131131
},
132132
"task": " "
@@ -137,12 +137,12 @@
137137
"end": {
138138
"col": 75,
139139
"line": 16,
140-
"offset": 497
140+
"offset": 498
141141
},
142142
"start": {
143143
"col": 0,
144144
"line": 16,
145-
"offset": 422
145+
"offset": 423
146146
}
147147
},
148148
"task": " "
@@ -167,9 +167,9 @@
167167
{
168168
"position": {
169169
"end": {
170-
"col": 31,
170+
"col": 32,
171171
"line": 2,
172-
"offset": 52
172+
"offset": 53
173173
},
174174
"start": {
175175
"col": 0,
@@ -184,12 +184,12 @@
184184
"end": {
185185
"col": 18,
186186
"line": 4,
187-
"offset": 72
187+
"offset": 73
188188
},
189189
"start": {
190190
"col": 0,
191191
"line": 4,
192-
"offset": 54
192+
"offset": 55
193193
}
194194
},
195195
"type": "heading"
@@ -199,12 +199,12 @@
199199
"end": {
200200
"col": 71,
201201
"line": 7,
202-
"offset": 217
202+
"offset": 218
203203
},
204204
"start": {
205205
"col": 0,
206206
"line": 6,
207-
"offset": 74
207+
"offset": 75
208208
}
209209
},
210210
"type": "list"
@@ -214,12 +214,12 @@
214214
"end": {
215215
"col": 31,
216216
"line": 9,
217-
"offset": 250
217+
"offset": 251
218218
},
219219
"start": {
220220
"col": 0,
221221
"line": 9,
222-
"offset": 219
222+
"offset": 220
223223
}
224224
},
225225
"type": "paragraph"
@@ -229,12 +229,12 @@
229229
"end": {
230230
"col": 71,
231231
"line": 11,
232-
"offset": 323
232+
"offset": 324
233233
},
234234
"start": {
235235
"col": 0,
236236
"line": 11,
237-
"offset": 252
237+
"offset": 253
238238
}
239239
},
240240
"type": "list"
@@ -244,12 +244,12 @@
244244
"end": {
245245
"col": 19,
246246
"line": 13,
247-
"offset": 344
247+
"offset": 345
248248
},
249249
"start": {
250250
"col": 0,
251251
"line": 13,
252-
"offset": 325
252+
"offset": 326
253253
}
254254
},
255255
"type": "heading"
@@ -259,12 +259,12 @@
259259
"end": {
260260
"col": 75,
261261
"line": 16,
262-
"offset": 497
262+
"offset": 498
263263
},
264264
"start": {
265265
"col": 0,
266266
"line": 15,
267-
"offset": 346
267+
"offset": 347
268268
}
269269
},
270270
"type": "list"
@@ -276,12 +276,12 @@
276276
"end": {
277277
"col": 11,
278278
"line": 6,
279-
"offset": 85
279+
"offset": 86
280280
},
281281
"start": {
282282
"col": 6,
283283
"line": 6,
284-
"offset": 80
284+
"offset": 81
285285
}
286286
},
287287
"tag": "#task"
@@ -291,12 +291,12 @@
291291
"end": {
292292
"col": 11,
293293
"line": 7,
294-
"offset": 157
294+
"offset": 158
295295
},
296296
"start": {
297297
"col": 6,
298298
"line": 7,
299-
"offset": 152
299+
"offset": 153
300300
}
301301
},
302302
"tag": "#task"
@@ -306,12 +306,12 @@
306306
"end": {
307307
"col": 11,
308308
"line": 11,
309-
"offset": 263
309+
"offset": 264
310310
},
311311
"start": {
312312
"col": 6,
313313
"line": 11,
314-
"offset": 258
314+
"offset": 259
315315
}
316316
},
317317
"tag": "#task"
@@ -321,12 +321,12 @@
321321
"end": {
322322
"col": 11,
323323
"line": 15,
324-
"offset": 357
324+
"offset": 358
325325
},
326326
"start": {
327327
"col": 6,
328328
"line": 15,
329-
"offset": 352
329+
"offset": 353
330330
}
331331
},
332332
"tag": "#task"
@@ -336,19 +336,19 @@
336336
"end": {
337337
"col": 11,
338338
"line": 16,
339-
"offset": 433
339+
"offset": 434
340340
},
341341
"start": {
342342
"col": 6,
343343
"line": 16,
344-
"offset": 428
344+
"offset": 429
345345
}
346346
},
347347
"tag": "#task"
348348
}
349349
]
350350
},
351-
"fileContents": "# multiple_headings\n\n## Level 2 heading with no taks\n\n## Level 2 heading\n\n- [ ] #task Task 1 in Level 2 heading - in 'multiple_headings' - list 1\n- [ ] #task task 2 in Level 2 heading - in 'multiple_headings' - list 1\n\nDivider to create a new section\n\n- [ ] #task task 3 in Level 2 heading - in 'multiple_headings' - list 2\n\n### Level 3 heading\n\n- [ ] #task Task 4 in 'multiple_headings' - in 'multiple_headings' - list 3\n- [ ] #task Task 5 in 'multiple_headings' - in 'multiple_headings' - list 3\n",
351+
"fileContents": "# multiple_headings\n\n## Level 2 heading with no tasks\n\n## Level 2 heading\n\n- [ ] #task Task 1 in Level 2 heading - in 'multiple_headings' - list 1\n- [ ] #task task 2 in Level 2 heading - in 'multiple_headings' - list 1\n\nDivider to create a new section\n\n- [ ] #task task 3 in Level 2 heading - in 'multiple_headings' - list 2\n\n### Level 3 heading\n\n- [ ] #task Task 4 in 'multiple_headings' - in 'multiple_headings' - list 3\n- [ ] #task Task 5 in 'multiple_headings' - in 'multiple_headings' - list 3\n",
352352
"filePath": "Test Data/multiple_headings.md",
353353
"getAllTags": [
354354
"#task",

0 commit comments

Comments
 (0)