Skip to content

Commit

Permalink
Rename header tests for clarity (prep for adding more tests!).
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho committed Apr 26, 2024
1 parent 804a6ad commit 215420a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ mod tests {
}

#[test]
fn with_h1() {
fn with_h1_note() {
let text = "> # Header\n > And then some note content.";
let processed = rewrite(text);
assert_eq!(
Expand All @@ -182,7 +182,7 @@ mod tests {
}

#[test]
fn with_h2() {
fn with_h2_note() {
let text = "> ## Header\n > And then some note content.";
let processed = rewrite(text);
assert_eq!(
Expand All @@ -192,7 +192,7 @@ mod tests {
}

#[test]
fn with_h3() {
fn with_h3_note() {
let text = "> ### Header\n > And then some note content.";
let processed = rewrite(text);
assert_eq!(
Expand All @@ -202,7 +202,7 @@ mod tests {
}

#[test]
fn with_h4() {
fn with_h4_note() {
let text = "> #### Header\n > And then some note content.";
let processed = rewrite(text);
assert_eq!(
Expand All @@ -212,7 +212,7 @@ mod tests {
}

#[test]
fn with_h5() {
fn with_h5_note() {
let text = "> ##### Header\n > And then some note content.";
let processed = rewrite(text);
assert_eq!(
Expand All @@ -222,7 +222,7 @@ mod tests {
}

#[test]
fn with_h6() {
fn with_h6_note() {
let text = "> ###### Header\n > And then some note content.";
let processed = rewrite(text);
assert_eq!(
Expand Down

0 comments on commit 215420a

Please sign in to comment.