// This file is auto-generated by the build script // Please, do not modify it manually use super::test_markdown_html; #[test] fn table_test_1() { let original = r##"Test header ----------- "##; let expected = r##"

Test header

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_2() { let original = r##"Test|Table ----|----- "##; let expected = r##"
TestTable
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_3() { let original = r##"> Test | Table > ------|------ > Row 1 | Every > Row 2 | Day > > Paragraph "##; let expected = r##"
TestTable
Row 1Every
Row 2Day

Paragraph

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_4() { let original = r##" 1. First entry 2. Second entry Col 1|Col 2 -|- Row 1|Part 2 Row 2|Part 2 "##; let expected = r##"
  1. First entry

  2. Second entry

    Col 1Col 2
    Row 1Part 2
    Row 2Part 2
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_5() { let original = r##"|Col 1|Col 2| |-----|-----| |R1C1 |R1C2 | |R2C1 |R2C2 | "##; let expected = r##"
Col 1Col 2
R1C1R1C2
R2C1R2C2
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_6() { let original = r##"| Col 1 | Col 2 | |-------|-------| | | | | | | "##; let expected = r##"
Col 1Col 2
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_7() { let original = r##"| Col 1 | Col 2 | |-------|-------| | x | | | | x | "##; let expected = r##"
Col 1Col 2
x
x
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_8() { let original = r##"|Col 1|Col 2| |-----|-----| |✓ |✓ | |✓ |✓ | "##; let expected = r##"
Col 1Col 2
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_9() { let original = r##"| Target | std |rustc|cargo| notes | |-------------------------------|-----|-----|-----|----------------------------| | `x86_64-unknown-linux-musl` | ✓ | | | 64-bit Linux with MUSL | | `arm-linux-androideabi` | ✓ | | | ARM Android | | `arm-unknown-linux-gnueabi` | ✓ | ✓ | | ARM Linux (2.6.18+) | | `arm-unknown-linux-gnueabihf` | ✓ | ✓ | | ARM Linux (2.6.18+) | | `aarch64-unknown-linux-gnu` | ✓ | | | ARM64 Linux (2.6.18+) | | `mips-unknown-linux-gnu` | ✓ | | | MIPS Linux (2.6.18+) | | `mipsel-unknown-linux-gnu` | ✓ | | | MIPS (LE) Linux (2.6.18+) | "##; let expected = r##"
Targetstdrustccargonotes
x86_64-unknown-linux-musl64-bit Linux with MUSL
arm-linux-androideabiARM Android
arm-unknown-linux-gnueabiARM Linux (2.6.18+)
arm-unknown-linux-gnueabihfARM Linux (2.6.18+)
aarch64-unknown-linux-gnuARM64 Linux (2.6.18+)
mips-unknown-linux-gnuMIPS Linux (2.6.18+)
mipsel-unknown-linux-gnuMIPS (LE) Linux (2.6.18+)
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_10() { let original = r##"|-|-| |ぃ|い| "##; let expected = r##"

|-|-| |ぃ|い|

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_11() { let original = r##"|ぁ|ぃ| |-|-| |ぃ|ぃ| "##; let expected = r##"
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_12() { let original = r##"|Колонка 1|Колонка 2| |---------|---------| |Ячейка 1 |Ячейка 2 | "##; let expected = r##"
Колонка 1Колонка 2
Ячейка 1Ячейка 2
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_13() { let original = r##"table a | a | b | | --- | --- | | c | d | table b | a | b | | --- | --- | | c | d | table c a | b --- | --- c | d table d a | b --|-- c | d table e a | b --|-- c | d table f | a | b | | --- | --- | | c | d | table g a | b --- | --- c | d table h a |-| b table i | a |- b table j | a - b "##; let expected = r##"

table a

ab
cd

table b | a | b | | --- | --- | | c | d |

table c a | b --- | --- c | d

table d a | b --|-- c | d

table e a | b --|-- c | d

table f

ab
cd

table g a | b --- | --- c | d

table h a |-| b

table i

a
b

table j | a

b

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_14() { let original = r##"a | b - | - 1 | 2 "##; let expected = r##"
ab
12
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_15() { let original = r##"a | b\ - | - 1 | 2 "##; let expected = r##"

a | b\

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_16() { let original = r##"a\ | b | c | |---|---| | d | e | "##; let expected = r##"

a\

bc
de
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_17() { let original = r##"| Description | Test case | |-------------|-----------| | Single | `\` | | Double | `\\` | | Basic test | `\|` | | Basic test 2| `\|\|\` | | Basic test 3| `x\|y\|z\`| | Not pipe | `\.` | | Combo | `\.\|\` | | Extra | `\\\.` | | Wait, what? | `\\|` | | Wait, what? | `\\\|` | | Wait, what? | `\\\\|` | | Wait, what? | `\\\\\|` | | Wait, what? | \| | Wait, what? | \\| | Wait, what? | \\\| | Wait, what?x| \|x | Wait, what?x| \\|x | Wait, what?x| \\\|x | Direct trail| \.|x "##; let expected = r##"
DescriptionTest case
Single\
Double\\
Basic test|
Basic test 2||\
Basic test 3x|y|z\
Not pipe\.
Combo\.|\
Extra\\\.
Wait, what?\|
Wait, what?\\|
Wait, what?\\\|
Wait, what?\\\\|
Wait, what?|
Wait, what?|
Wait, what?\|
Wait, what?x|x
Wait, what?x|x
Wait, what?x\|x
Direct trail.
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_18() { let original = r##"| Single | `\|` | |--|--| | Single | `\|` | | Double | `\\|` | |--|--| | Double | `\\|` | | Double Twice | `\\|\\|` | |--|--| | Double Twice | `\\|\\|` | | Triple | `\\\|` | |--|--| | Triple | `\\\|` | "##; let expected = r##"
Single|
Single|
Double\|
Double\|
Double Twice\|\|
Double Twice\|\|
Triple\\|
Triple\\|
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_19() { let original = r##"| Table | Header | |-------|--------| | Table | Body | | | Not | Enough | | Table | Header | |-------|--------| | Table | Body | | | Not | Enough | "##; let expected = r##"
TableHeader
TableBody

| | Not | Enough |

TableHeader
TableBody

| | Not | Enough |

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_20() { let original = r##"| Table | Header | |-------|--------| | "##; let expected = r##"
TableHeader

|

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_21() { let original = r##"| |-------|--------| | Table | Body | "##; let expected = r##"

| |-------|--------| | Table | Body |

"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_22() { let original = r##"| Single | [test](first\|second) | |--|--| | Double | [test](first\\|second) | |--|--| | Triple | [test](first\\\|second) | |--|--| "##; let expected = r##"
Singletest
Doubletest
Tripletest
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_23() { let original = r##"| Single | [first\|second] | |--|--| | Double | [first\\|second] | |--|--| | Triple | [first\\\|second] | |--|--| [first\|second]: https://rust-lang.org [first\\|second]: https://docs.rs "##; let expected = r##"
Single[first|second]
Doublefirst|second
Triplefirst\|second
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_24() { let original = r##"Q: Knock knock. A: Who's there. Q: Interrupting cow. A: Interrupting —? | `Moo\\|ooo` | |-------------| | `ooo\\|ooo` | "##; let expected = r##"

Q: Knock knock. A: Who's there. Q: Interrupting cow. A: Interrupting —?

Moo\|ooo
ooo\|ooo
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_25() { let original = r##"| ![Moo\\|Moo](image.png) | |-------------| | ![Moo\\\|Moo](image.png) | "##; let expected = r##"
Moo|Moo
Moo\|Moo
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_26() { let original = r##"| [Moo](https://example.org "Example\\|Link") | |---------------------------------------------| | [Moo](https://example.org "Example\\\|Link") | "##; let expected = r##"
Moo
Moo
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_27() { let original = r##"moo | moo ----|---- moo | moo * "##; let expected = r##"
moomoo
moomoo
"##; test_markdown_html(original, expected, false, false, false); } #[test] fn table_test_28() { let original = r##"moo | moo ----|---- moo | moo 2. "##; let expected = r##"
moomoo
moomoo
"##; test_markdown_html(original, expected, false, false, false); }