()
| 210 | |
| 211 | #[tokio::test] |
| 212 | async fn test_detect_java_tech_stack() { |
| 213 | let temp_dir = TempDir::new().unwrap(); |
| 214 | |
| 215 | // Create pom.xml file |
| 216 | tokio::fs::write(temp_dir.path().join("pom.xml"), "") |
| 217 | .await |
| 218 | .unwrap(); |
| 219 | |
| 220 | let result = detect_stack(temp_dir.path()).await.unwrap(); |
| 221 | assert_eq!(result, "java"); |
| 222 | } |
| 223 | |
| 224 | #[tokio::test] |
| 225 | async fn test_detect_lua_tech_stack_rockspec() { |
nothing calls this directly
no test coverage detected