Skip to content

Simplify list parser

Codecov / codecov/patch failed Sep 25, 2024 in 1s

94.7% of diff hit (target 99.8%)

View this Pull Request on Codecov

94.7% of diff hit (target 99.8%)

Annotations

Check warning on line 78 in src/lexer/token.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lexer/token.rs#L76-L78

Added lines #L76 - L78 were not covered by tests

Check warning on line 51 in src/nodes/anchor.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/anchor.rs#L51

Added line #L51 was not covered by tests

Check warning on line 75 in src/nodes/bold.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/bold.rs#L75

Added line #L75 was not covered by tests

Check warning on line 85 in src/nodes/bold.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/bold.rs#L85

Added line #L85 was not covered by tests

Check warning on line 89 in src/nodes/bold.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/bold.rs#L89

Added line #L89 was not covered by tests

Check warning on line 91 in src/nodes/bold.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/bold.rs#L91

Added line #L91 was not covered by tests

Check warning on line 36 in src/nodes/code_span.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/code_span.rs#L33-L36

Added lines #L33 - L36 were not covered by tests

Check warning on line 59 in src/nodes/collapsible.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/collapsible.rs#L59

Added line #L59 was not covered by tests

Check warning on line 30 in src/nodes/heading.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/heading.rs#L30

Added line #L30 was not covered by tests

Check warning on line 81 in src/nodes/highlight.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/highlight.rs#L74-L81

Added lines #L74 - L81 were not covered by tests

Check warning on line 85 in src/nodes/highlight.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/highlight.rs#L83-L85

Added lines #L83 - L85 were not covered by tests

Check warning on line 90 in src/nodes/highlight.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/highlight.rs#L89-L90

Added lines #L89 - L90 were not covered by tests

Check warning on line 92 in src/nodes/highlight.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/highlight.rs#L92

Added line #L92 was not covered by tests

Check warning on line 42 in src/nodes/images.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/images.rs#L40-L42

Added lines #L40 - L42 were not covered by tests

Check warning on line 48 in src/nodes/images.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/images.rs#L46-L48

Added lines #L46 - L48 were not covered by tests

Check warning on line 51 in src/nodes/images.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/images.rs#L50-L51

Added lines #L50 - L51 were not covered by tests

Check warning on line 34 in src/nodes/italic.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/italic.rs#L34

Added line #L34 was not covered by tests

Check warning on line 21 in src/nodes/list.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/list.rs#L18-L21

Added lines #L18 - L21 were not covered by tests

Check warning on line 23 in src/nodes/list.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/list.rs#L23

Added line #L23 was not covered by tests

Check warning on line 154 in src/nodes/list.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/list.rs#L151-L154

Added lines #L151 - L154 were not covered by tests

Check warning on line 156 in src/nodes/list.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/list.rs#L156

Added line #L156 was not covered by tests

Check warning on line 24 in src/nodes/list_item.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/list_item.rs#L23-L24

Added lines #L23 - L24 were not covered by tests

Check warning on line 55 in src/nodes/paragraph.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/paragraph.rs#L55

Added line #L55 was not covered by tests

Check warning on line 60 in src/nodes/paragraph.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/paragraph.rs#L57-L60

Added lines #L57 - L60 were not covered by tests

Check warning on line 62 in src/nodes/paragraph.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/nodes/paragraph.rs#L62

Added line #L62 was not covered by tests