MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / test_detect_lua_tech_stack_luacheckrc

Function test_detect_lua_tech_stack_luacheckrc

src/repository.rs:238–248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 2

detect_stackFunction · 0.85
pathMethod · 0.80

Tested by

no test coverage detected