Skip to content

Commit a9f51e1

Browse files
committed
More tests
1 parent 59c2de5 commit a9f51e1

2 files changed

Lines changed: 67 additions & 19 deletions

File tree

‎tests/format/markdown/liquid/__snapshots__/format.test.js.snap‎

Lines changed: 53 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -524,17 +524,27 @@ If \`module\` is not a [\`WebAssembly.Module\`](/en-US/docs/WebAssembly/Referenc
524524
525525
---
526526
527-
abcdefg abcdefg
527+
text
528528
{% comment %} here is comment {% endcomment %}
529529
530530
---
531531
532-
abcdefg abcdefg
533-
{% comment %} here is comment {% endcomment %}
532+
text
533+
{{ comment }} here is comment {{ endcomment }}
534+
535+
---
536+
537+
text
538+
{% comment %} text
539+
540+
---
541+
542+
text
543+
{{ comment }} text
534544
535545
---
536546
537-
abcdefg abcdefg
547+
text
538548
{{abc}}
539549
540550
---
@@ -552,15 +562,23 @@ object instance, a {{jsxref("TypeError")}} is thrown.
552562
553563
---
554564
555-
abcdefg abcdefg {% comment %} here is comment {% endcomment %}
565+
text {% comment %} here is comment {% endcomment %}
566+
567+
---
568+
569+
text {{ comment }} here is comment {{ endcomment }}
556570
557571
---
558572
559-
abcdefg abcdefg {% comment %} here is comment {% endcomment %}
573+
text {% comment %} text
560574
561575
---
562576
563-
abcdefg abcdefg
577+
text {{ comment }} text
578+
579+
---
580+
581+
text
564582
{{abc}}
565583
566584
---
@@ -583,17 +601,27 @@ If \`module\` is not a [\`WebAssembly.Module\`](/en-US/docs/WebAssembly/Referenc
583601
584602
---
585603
586-
abcdefg abcdefg
604+
text
587605
{% comment %} here is comment {% endcomment %}
588606
589607
---
590608
591-
abcdefg abcdefg
592-
{% comment %} here is comment {% endcomment %}
609+
text
610+
{{ comment }} here is comment {{ endcomment }}
593611
594612
---
595613
596-
abcdefg abcdefg
614+
text
615+
{% comment %} text
616+
617+
---
618+
619+
text
620+
{{ comment }} text
621+
622+
---
623+
624+
text
597625
{{abc}}
598626
599627
---
@@ -609,17 +637,27 @@ If \`module\` is not a [\`WebAssembly.Module\`](/en-US/docs/WebAssembly/Referenc
609637
610638
---
611639
612-
abcdefg abcdefg
640+
text
613641
{% comment %} here is comment {% endcomment %}
614642
615643
---
616644
617-
abcdefg abcdefg
618-
{% comment %} here is comment {% endcomment %}
645+
text
646+
{{ comment }} here is comment {{ endcomment }}
647+
648+
---
649+
650+
text
651+
{% comment %} text
619652
620653
---
621654
622-
abcdefg abcdefg
655+
text
656+
{{ comment }} text
657+
658+
---
659+
660+
text
623661
{{abc}}
624662
625663
---

‎tests/format/markdown/liquid/issue-20083.md‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,27 @@ If `module` is not a [`WebAssembly.Module`](/en-US/docs/WebAssembly/Reference/Ja
55

66
---
77

8-
abcdefg abcdefg
8+
text
99
{% comment %} here is comment {% endcomment %}
1010

1111
---
1212

13-
abcdefg abcdefg
14-
{% comment %} here is comment {% endcomment %}
13+
text
14+
{{ comment }} here is comment {{ endcomment }}
15+
16+
---
17+
18+
text
19+
{% comment %} text
20+
21+
---
22+
23+
text
24+
{{ comment }} text
1525

1626
---
1727

18-
abcdefg abcdefg
28+
text
1929
{{abc}}
2030

2131
---

0 commit comments

Comments
 (0)