diff --git a/frontend/tests/parser/mod.rs b/frontend/tests/parser/mod.rs index 88ae3a64..dfcc7fee 100644 --- a/frontend/tests/parser/mod.rs +++ b/frontend/tests/parser/mod.rs @@ -49,7 +49,7 @@ fn run_snap_test(case: test_runner::test_file::TestCase) { agg }); - format!("{input_str}\n{block_snaps}") + format!("{block_snaps}") }) .with_info(format!( "Test '{}' from '{}'", diff --git a/frontend/tests/spec/snapshots/parser/block/heading/multi-line-level-1.snap b/frontend/tests/spec/snapshots/parser/block/heading/multi-line-level-1.snap index f531607b..be438cd8 100644 --- a/frontend/tests/spec/snapshots/parser/block/heading/multi-line-level-1.snap +++ b/frontend/tests/spec/snapshots/parser/block/heading/multi-line-level-1.snap @@ -2,9 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'multi-line-level-1' from 'markup/block/heading.yml'" --- -# This is a heading - in two lines. - Heading(level-1) @ (1 -> 36) { This is a heading in two lines. diff --git a/frontend/tests/spec/snapshots/parser/block/heading/multi-line-level-6.snap b/frontend/tests/spec/snapshots/parser/block/heading/multi-line-level-6.snap index dc6fb884..58a5891a 100644 --- a/frontend/tests/spec/snapshots/parser/block/heading/multi-line-level-6.snap +++ b/frontend/tests/spec/snapshots/parser/block/heading/multi-line-level-6.snap @@ -2,9 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'multi-line-level-6' from 'markup/block/heading.yml'" --- -###### This is a heading - in multiple lines. - Heading(level-6) @ (6 -> 51) { This is a heading in multiple lines. diff --git a/frontend/tests/spec/snapshots/parser/block/heading/single-line-level-1.snap b/frontend/tests/spec/snapshots/parser/block/heading/single-line-level-1.snap index 6f5f816a..dc720a9c 100644 --- a/frontend/tests/spec/snapshots/parser/block/heading/single-line-level-1.snap +++ b/frontend/tests/spec/snapshots/parser/block/heading/single-line-level-1.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'single-line-level-1' from 'markup/block/heading.yml'" --- -# This is a simple heading. - Heading(level-1) @ (1 -> 28) { This is a simple heading. } diff --git a/frontend/tests/spec/snapshots/parser/block/heading/single-line-level-6.snap b/frontend/tests/spec/snapshots/parser/block/heading/single-line-level-6.snap index 7738a08b..a34b453e 100644 --- a/frontend/tests/spec/snapshots/parser/block/heading/single-line-level-6.snap +++ b/frontend/tests/spec/snapshots/parser/block/heading/single-line-level-6.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'single-line-level-6' from 'markup/block/heading.yml'" --- -###### This is a heading. - Heading(level-6) @ (6 -> 26) { This is a heading. } diff --git a/frontend/tests/spec/snapshots/parser/block/paragraph/multi-line.snap b/frontend/tests/spec/snapshots/parser/block/paragraph/multi-line.snap index 7128fdd1..a0899fbd 100644 --- a/frontend/tests/spec/snapshots/parser/block/paragraph/multi-line.snap +++ b/frontend/tests/spec/snapshots/parser/block/paragraph/multi-line.snap @@ -2,10 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'multi-line' from 'markup/block/paragraph.yml'" --- -This is a paragraph -that spans multiple -lines. - Paragraph @ (0 -> 47) { This is a paragraph that spans multiple diff --git a/frontend/tests/spec/snapshots/parser/block/paragraph/single-line.snap b/frontend/tests/spec/snapshots/parser/block/paragraph/single-line.snap index 9bad6a31..b3f2e08b 100644 --- a/frontend/tests/spec/snapshots/parser/block/paragraph/single-line.snap +++ b/frontend/tests/spec/snapshots/parser/block/paragraph/single-line.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'single-line' from 'markup/block/paragraph.yml'" --- -This is a simple paragraph. - Paragraph @ (0 -> 28) { This is a simple paragraph. } diff --git a/frontend/tests/spec/snapshots/parser/block/paragraph/two-paragraphs.snap b/frontend/tests/spec/snapshots/parser/block/paragraph/two-paragraphs.snap index a7528790..0785118e 100644 --- a/frontend/tests/spec/snapshots/parser/block/paragraph/two-paragraphs.snap +++ b/frontend/tests/spec/snapshots/parser/block/paragraph/two-paragraphs.snap @@ -2,10 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'two-paragraphs' from 'markup/block/paragraph.yml'" --- -This is the first paragraph. - -And this should be the second one. - Paragraph @ (0 -> 29) { This is the first paragraph. } diff --git a/frontend/tests/spec/snapshots/parser/bold/ambiguous-close.snap b/frontend/tests/spec/snapshots/parser/bold/ambiguous-close.snap index 864107d9..1a28d630 100644 --- a/frontend/tests/spec/snapshots/parser/bold/ambiguous-close.snap +++ b/frontend/tests/spec/snapshots/parser/bold/ambiguous-close.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'ambiguous-close' from 'markup/bold.yml'" --- -**bold *+italic*** plain - Paragraph @ (0 -> 25) { **bold *+italic*** plain } diff --git a/frontend/tests/spec/snapshots/parser/bold/ambiguous-end.snap b/frontend/tests/spec/snapshots/parser/bold/ambiguous-end.snap index df6489a8..f8abeb25 100644 --- a/frontend/tests/spec/snapshots/parser/bold/ambiguous-end.snap +++ b/frontend/tests/spec/snapshots/parser/bold/ambiguous-end.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'ambiguous-end' from 'markup/bold.yml'" --- -The next **word*** is bold. - Paragraph @ (0 -> 28) { The next **word*** is bold. } diff --git a/frontend/tests/spec/snapshots/parser/bold/ambiguous-start.snap b/frontend/tests/spec/snapshots/parser/bold/ambiguous-start.snap index 7f0c2772..ffc77635 100644 --- a/frontend/tests/spec/snapshots/parser/bold/ambiguous-start.snap +++ b/frontend/tests/spec/snapshots/parser/bold/ambiguous-start.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'ambiguous-start' from 'markup/bold.yml'" --- -The next ***word** is bolditalic. - Paragraph @ (0 -> 34) { The next ***word** is bolditalic. } diff --git a/frontend/tests/spec/snapshots/parser/bold/bold-in-middle.snap b/frontend/tests/spec/snapshots/parser/bold/bold-in-middle.snap index bbd33c97..9576707b 100644 --- a/frontend/tests/spec/snapshots/parser/bold/bold-in-middle.snap +++ b/frontend/tests/spec/snapshots/parser/bold/bold-in-middle.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'bold-in-middle' from 'markup/bold.yml'" --- -The next **word** is bold. - Paragraph @ (0 -> 27) { The next **word** is bold. } diff --git a/frontend/tests/spec/snapshots/parser/bold/bold-not-bold.snap b/frontend/tests/spec/snapshots/parser/bold/bold-not-bold.snap index 4a50af94..e62c9f4f 100644 --- a/frontend/tests/spec/snapshots/parser/bold/bold-not-bold.snap +++ b/frontend/tests/spec/snapshots/parser/bold/bold-not-bold.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'bold-not-bold' from 'markup/bold.yml'" --- -**Bold** not bold. - Paragraph @ (0 -> 19) { **Bold** not bold. } diff --git a/frontend/tests/spec/snapshots/parser/bold/escaped-bold.snap b/frontend/tests/spec/snapshots/parser/bold/escaped-bold.snap index 8a5d41cc..95ea6b97 100644 --- a/frontend/tests/spec/snapshots/parser/bold/escaped-bold.snap +++ b/frontend/tests/spec/snapshots/parser/bold/escaped-bold.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'escaped-bold' from 'markup/bold.yml'" --- -\*\*not bold\*\* - Paragraph @ (0 -> 17) { \*\*not bold\*\* } diff --git a/frontend/tests/spec/snapshots/parser/bold/implicit-closed-bold.snap b/frontend/tests/spec/snapshots/parser/bold/implicit-closed-bold.snap index c645780a..4d77787a 100644 --- a/frontend/tests/spec/snapshots/parser/bold/implicit-closed-bold.snap +++ b/frontend/tests/spec/snapshots/parser/bold/implicit-closed-bold.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'implicit-closed-bold' from 'markup/bold.yml'" --- -**implicit bold **close - Paragraph @ (0 -> 24) { **implicit bold **close } diff --git a/frontend/tests/spec/snapshots/parser/bold/not-bold.snap b/frontend/tests/spec/snapshots/parser/bold/not-bold.snap index 72f54506..074cc742 100644 --- a/frontend/tests/spec/snapshots/parser/bold/not-bold.snap +++ b/frontend/tests/spec/snapshots/parser/bold/not-bold.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'not-bold' from 'markup/bold.yml'" --- -** not bold ** - Paragraph @ (0 -> 15) { ** not bold ** } diff --git a/frontend/tests/spec/snapshots/parser/bold/not-opened-bold.snap b/frontend/tests/spec/snapshots/parser/bold/not-opened-bold.snap index 31f7dfe7..f3409e6d 100644 --- a/frontend/tests/spec/snapshots/parser/bold/not-opened-bold.snap +++ b/frontend/tests/spec/snapshots/parser/bold/not-opened-bold.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'not-opened-bold' from 'markup/bold.yml'" --- -** not bold** - Paragraph @ (0 -> 14) { ** not bold** } diff --git a/frontend/tests/spec/snapshots/parser/bold/simple-bold.snap b/frontend/tests/spec/snapshots/parser/bold/simple-bold.snap index 2e20f13e..927df145 100644 --- a/frontend/tests/spec/snapshots/parser/bold/simple-bold.snap +++ b/frontend/tests/spec/snapshots/parser/bold/simple-bold.snap @@ -2,8 +2,6 @@ source: frontend/tests/parser/mod.rs info: "Test 'simple-bold' from 'markup/bold.yml'" --- -**Bold** - Paragraph @ (0 -> 9) { **Bold** }