// 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);
}
#[test]
fn table_test_2() {
let original = r##"Test|Table
----|-----
"##;
let expected = r##"
"##;
test_markdown_html(original, expected);
}
#[test]
fn table_test_3() {
let original = r##"> Test | Table
> ------|------
> Row 1 | Every
> Row 2 | Day
>
> Paragraph
"##;
let expected = r##"
Test | Table |
Row 1 | Every |
Row 2 | Day |
Paragraph
"##;
test_markdown_html(original, expected);
}
#[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##"
-
First entry
-
Second entry
Col 1 | Col 2 |
Row 1 | Part 2 |
Row 2 | Part 2 |
"##;
test_markdown_html(original, expected);
}
#[test]
fn table_test_5() {
let original = r##"|Col 1|Col 2|
|-----|-----|
|R1C1 |R1C2 |
|R2C1 |R2C2 |
"##;
let expected = r##"Col 1 | Col 2 |
R1C1 | R1C2 |
R2C1 | R2C2 |
"##;
test_markdown_html(original, expected);
}
#[test]
fn table_test_6() {
let original = r##"| Col 1 | Col 2 |
|-------|-------|
| | |
| | |
"##;
let expected = r##"
"##;
test_markdown_html(original, expected);
}
#[test]
fn table_test_7() {
let original = r##"| Col 1 | Col 2 |
|-------|-------|
| x | |
| | x |
"##;
let expected = r##"
"##;
test_markdown_html(original, expected);
}
#[test]
fn table_test_8() {
let original = r##"|Col 1|Col 2|
|-----|-----|
|✓ |✓ |
|✓ |✓ |
"##;
let expected = r##"
"##;
test_markdown_html(original, expected);
}
#[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##" 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+) |
"##;
test_markdown_html(original, expected);
}
#[test]
fn table_test_10() {
let original = r##"|-|-|
|ぃ|い|
"##;
let expected = r##"|-|-|
|ぃ|い|
"##;
test_markdown_html(original, expected);
}
#[test]
fn table_test_11() {
let original = r##"|ぁ|ぃ|
|-|-|
|ぃ|ぃ|
"##;
let expected = r##"
"##;
test_markdown_html(original, expected);
}
#[test]
fn table_test_12() {
let original = r##"|Колонка 1|Колонка 2|
|---------|---------|
|Ячейка 1 |Ячейка 2 |
"##;
let expected = r##"Колонка 1 | Колонка 2 |
Ячейка 1 | Ячейка 2 |
"##;
test_markdown_html(original, expected);
}