()
| 197 | |
| 198 | #[tokio::test] |
| 199 | async fn test_detect_go_tech_stack() { |
| 200 | let temp_dir = TempDir::new().unwrap(); |
| 201 | |
| 202 | // Create go.mod file |
| 203 | tokio::fs::write(temp_dir.path().join("go.mod"), "") |
| 204 | .await |
| 205 | .unwrap(); |
| 206 | |
| 207 | let result = detect_stack(temp_dir.path()).await.unwrap(); |
| 208 | assert_eq!(result, "go"); |
| 209 | } |
| 210 | |
| 211 | #[tokio::test] |
| 212 | async fn test_detect_java_tech_stack() { |
nothing calls this directly
no test coverage detected