()
| 145 | |
| 146 | #[tokio::test] |
| 147 | async fn test_detect_rust_tech_stack() { |
| 148 | let temp_dir = TempDir::new().unwrap(); |
| 149 | |
| 150 | // Create Cargo.toml file |
| 151 | tokio::fs::write(temp_dir.path().join("Cargo.toml"), "") |
| 152 | .await |
| 153 | .unwrap(); |
| 154 | |
| 155 | let result = detect_stack(temp_dir.path()).await.unwrap(); |
| 156 | assert_eq!(result, "rust"); |
| 157 | } |
| 158 | |
| 159 | #[tokio::test] |
| 160 | async fn test_detect_python_tech_stack() { |
nothing calls this directly
no test coverage detected