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

Function test_detect_lua_tech_stack_rockspec

src/repository.rs:225–235  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

detect_stackFunction · 0.85
pathMethod · 0.80

Tested by

no test coverage detected