()
| 271 | |
| 272 | #[tokio::test] |
| 273 | async fn test_detect_project_name() { |
| 274 | // Create a temp dir with a specific name to test |
| 275 | let temp_base = TempDir::new().unwrap(); |
| 276 | let project_dir = temp_base.path().join("my-awesome-project"); |
| 277 | tokio::fs::create_dir(&project_dir).await.unwrap(); |
| 278 | |
| 279 | let result = detect_project_name(&project_dir).await.unwrap(); |
| 280 | assert_eq!(result, "my-awesome-project"); |
| 281 | } |
| 282 | |
| 283 | #[tokio::test] |
| 284 | async fn test_clean_project_name() { |
nothing calls this directly
no test coverage detected