X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/5732d284ebc2cc2cbde0f050443b8f137dbf585b..3f1aa0b6eb90bd7912a63c6b72c2571486fbc21f:/tests/cli_test.rs?ds=inline 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()],