11use regex:: Regex ;
22use rust_project_goals:: spanned:: { Error , Spanned } ;
3- use rust_project_goals:: { spanned:: Context as _, spanned:: Result } ;
43use rust_project_goals:: util:: MILESTONE_REGEX ;
4+ use rust_project_goals:: { spanned:: Context as _, spanned:: Result } ;
55use std:: fs:: { self , File } ;
66use std:: io:: Write ;
77use std:: path:: { Path , PathBuf } ;
@@ -575,8 +575,14 @@ mod tests {
575575 let intro_pos = result. find ( "[👋 Introduction]" ) . unwrap ( ) ;
576576 let goal_process_pos = result. find ( "# ⏳ 2026H1 goal process" ) . unwrap ( ) ;
577577 let existing_section_pos = result. find ( "# ⚙️ 2025H2" ) . unwrap ( ) ;
578- assert ! ( intro_pos < goal_process_pos, "Goal process section should come after Introduction" ) ;
579- assert ! ( goal_process_pos < existing_section_pos, "New section should come before existing dated section" ) ;
578+ assert ! (
579+ intro_pos < goal_process_pos,
580+ "Goal process section should come after Introduction"
581+ ) ;
582+ assert ! (
583+ goal_process_pos < existing_section_pos,
584+ "New section should come before existing dated section"
585+ ) ;
580586 }
581587
582588 #[ test]
@@ -593,8 +599,14 @@ mod tests {
593599 let intro_pos = result. find ( "[👋 Introduction]" ) . unwrap ( ) ;
594600 let goal_process_pos = result. find ( "# ⏳ 2027 goal process" ) . unwrap ( ) ;
595601 let existing_section_pos = result. find ( "# ⚙️ 2025H2" ) . unwrap ( ) ;
596- assert ! ( intro_pos < goal_process_pos, "Goal process section should come after Introduction" ) ;
597- assert ! ( goal_process_pos < existing_section_pos, "New section should come before existing dated section" ) ;
602+ assert ! (
603+ intro_pos < goal_process_pos,
604+ "Goal process section should come after Introduction"
605+ ) ;
606+ assert ! (
607+ goal_process_pos < existing_section_pos,
608+ "New section should come before existing dated section"
609+ ) ;
598610 }
599611
600612 #[ test]
0 commit comments