Skip to content

Commit

Permalink
Run cargo fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
jugglerchris committed Jan 26, 2025
1 parent a21110d commit 5783240
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,8 @@ full screen width

#[test]
fn test_nested_ul() {
test_html(br"
test_html(
br"
<ul>
<li>Item 1</li>
<li>Item 2
Expand All @@ -833,17 +834,20 @@ fn test_nested_ul() {
</li>
</ul>
</ul>",
r#"* Item 1
r#"* Item 1
* Item 2
* SubItem 2.1
* SubItem 2.2
* Sub Item 2.2.1
"#, 80);
"#,
80,
);
}

#[test]
fn test_nested_ol() {
test_html(br"
test_html(
br"
<ol>
<li>Item 1</li>
<li>Item 2
Expand All @@ -856,12 +860,14 @@ fn test_nested_ol() {
</li>
</ol>
</ol>",
r#"1. Item 1
r#"1. Item 1
2. Item 2
1. SubItem 2.1
2. SubItem 2.2
1. Sub Item 2.2.1
"#, 80);
"#,
80,
);
}

#[test]
Expand Down

0 comments on commit 5783240

Please sign in to comment.