@@ -21,7 +21,7 @@ fn can_parse_site() {
2121 let library = site. library . read ( ) . unwrap ( ) ;
2222
2323 // Correct number of pages (sections do not count as pages, draft are ignored)
24- assert_eq ! ( library. pages. len( ) , 33 ) ;
24+ assert_eq ! ( library. pages. len( ) , 34 ) ;
2525 let posts_path = path. join ( "content" ) . join ( "posts" ) ;
2626
2727 // Make sure the page with a url doesn't have any sections
@@ -39,7 +39,7 @@ fn can_parse_site() {
3939 // And that the sections are correct
4040 let index_section = library. sections . get ( & path. join ( "content" ) . join ( "_index.md" ) ) . unwrap ( ) ;
4141 assert_eq ! ( index_section. subsections. len( ) , 5 ) ;
42- assert_eq ! ( index_section. pages. len( ) , 3 ) ;
42+ assert_eq ! ( index_section. pages. len( ) , 4 ) ;
4343 assert ! ( index_section. ancestors. is_empty( ) ) ;
4444
4545 let posts_section = library. sections . get ( & posts_path. join ( "_index.md" ) ) . unwrap ( ) ;
@@ -221,6 +221,13 @@ fn can_build_site_without_live_reload() {
221221 "robots.txt" ,
222222 "Sitemap: https://replace-this-with-your-url.com/sitemap.xml"
223223 ) ) ;
224+
225+ // And
226+ assert ! ( file_contains!(
227+ public,
228+ "colocated-assets/index.html" ,
229+ "Assets in root content directory"
230+ ) ) ;
224231}
225232
226233#[ test]
0 commit comments