File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -920,7 +920,10 @@ export function hello(): string {
920920 . collect ( ) ;
921921
922922 for window in positions. windows ( 2 ) {
923- assert ! ( window[ 0 ] < window[ 1 ] , "TOC headings are not in document order" ) ;
923+ assert ! (
924+ window[ 0 ] < window[ 1 ] ,
925+ "TOC headings are not in document order"
926+ ) ;
924927 }
925928
926929 // Verify heading levels aren't inflated: README h2 headings should NOT be
@@ -936,8 +939,7 @@ export function hello(): string {
936939 // Count nesting depth of the first README heading (Installation).
937940 // It should be in at most one <ul> nesting (the root <ul> + one sub-<ul>
938941 // for level 2), not two or more sub-<ul>s which would indicate inflated levels.
939- let before_installation =
940- & nav_html[ ..nav_html. find ( "Installation" ) . unwrap ( ) ] ;
942+ let before_installation = & nav_html[ ..nav_html. find ( "Installation" ) . unwrap ( ) ] ;
941943 let ul_depth = before_installation. matches ( "<ul>" ) . count ( ) ;
942944 assert ! (
943945 ul_depth <= 2 ,
You can’t perform that action at this time.
0 commit comments