X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/36a5c232b1f5d86bf97e29af987862732556ee07..3a7229d55bb1091a2bdd5d7fcd87f1c82d0a734a:/tests/cli_test.rs diff --git a/tests/cli_test.rs b/tests/cli_test.rs index fcbdb99..641d6f7 100644 --- a/tests/cli_test.rs +++ b/tests/cli_test.rs @@ -21,8 +21,8 @@ fn test_basic_generation() { let test_dir = setup_test_dir(); let dir_name = test_dir.file_name().unwrap().to_string_lossy(); let parent = test_dir.parent().unwrap(); - let html_dir = parent.join(format!("{}_html", dir_name)); - let gemini_dir = parent.join(format!("{}_gemini", dir_name)); + let html_dir = parent.join(format!("{dir_name}_html")); + let gemini_dir = parent.join(format!("{dir_name}_gemini")); let _cleanup = TestDir { paths: vec![test_dir.clone(), html_dir.clone(), gemini_dir.clone()], @@ -97,8 +97,8 @@ fn test_missing_layout() { let test_dir = setup_test_dir(); let dir_name = test_dir.file_name().unwrap().to_string_lossy(); let parent = test_dir.parent().unwrap(); - let html_dir = parent.join(format!("{}_html", dir_name)); - let gemini_dir = parent.join(format!("{}_gemini", dir_name)); + let html_dir = parent.join(format!("{dir_name}_html")); + let gemini_dir = parent.join(format!("{dir_name}_gemini")); let _cleanup = TestDir { paths: vec![test_dir.clone(), html_dir.clone(), gemini_dir.clone()],