diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-01-04 02:24:02 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-01-04 02:24:02 +0100 |
| commit | 3a7229d55bb1091a2bdd5d7fcd87f1c82d0a734a (patch) | |
| tree | 1f4f15df46576f7abe04f74094296b6fbdd6874f /tests | |
| parent | 36a5c232b1f5d86bf97e29af987862732556ee07 (diff) | |
Fix test
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/cli_test.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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()], |