()
| 223 | |
| 224 | #[tokio::test] |
| 225 | async fn test_detect_lua_tech_stack_rockspec() { |
| 226 | let temp_dir = TempDir::new().unwrap(); |
| 227 | |
| 228 | // Create rockspec file |
| 229 | tokio::fs::write(temp_dir.path().join("rockspec"), "") |
| 230 | .await |
| 231 | .unwrap(); |
| 232 | |
| 233 | let result = detect_stack(temp_dir.path()).await.unwrap(); |
| 234 | assert_eq!(result, "lua"); |
| 235 | } |
| 236 | |
| 237 | #[tokio::test] |
| 238 | async fn test_detect_lua_tech_stack_luacheckrc() { |
nothing calls this directly
no test coverage detected