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

Function test_detect_lua_tech_stack_init

src/repository.rs:251–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249
250 #[tokio::test]
251 async fn test_detect_lua_tech_stack_init() {
252 let temp_dir = TempDir::new().unwrap();
253
254 // Create init.lua file
255 tokio::fs::write(temp_dir.path().join("init.lua"), "")
256 .await
257 .unwrap();
258
259 let result = detect_stack(temp_dir.path()).await.unwrap();
260 assert_eq!(result, "lua");
261 }
262
263 #[tokio::test]
264 async fn test_detect_default_tech_stack() {

Callers

nothing calls this directly

Calls 2

detect_stackFunction · 0.85
pathMethod · 0.80

Tested by

no test coverage detected