+ let test_dir = setup_test_dir();
+ create_dir_all(&test_dir.join("nested"))
+ .expect("Could not create nested test directory");
+ create_dir_all(&test_dir.join("assets"))
+ .expect("Could not create assets test directory");
+ create_dir_all(&test_dir.join(".git"))
+ .expect("Could not create git test directory");
+ create_test_file(&test_dir.join("_layout.html"), "");
+ create_test_file(&test_dir.join("nested/nested.gmi"), "");
+ create_test_file(&test_dir.join("assets/style.css"), "");
+ create_test_file(&test_dir.join("image.png"), "");
+ create_test_file(&test_dir.join(".git/config"), "");
+ let files = find_files(&test_dir);
+
+ let paths = get_paths(&test_dir, &files);