()
| 236 | |
| 237 | #[tokio::test] |
| 238 | async fn test_detect_lua_tech_stack_luacheckrc() { |
| 239 | let temp_dir = TempDir::new().unwrap(); |
| 240 | |
| 241 | // Create .luacheckrc file |
| 242 | tokio::fs::write(temp_dir.path().join(".luacheckrc"), "") |
| 243 | .await |
| 244 | .unwrap(); |
| 245 | |
| 246 | let result = detect_stack(temp_dir.path()).await.unwrap(); |
| 247 | assert_eq!(result, "lua"); |
| 248 | } |
| 249 | |
| 250 | #[tokio::test] |
| 251 | async fn test_detect_lua_tech_stack_init() { |
nothing calls this directly
no test coverage detected