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

Function test_detect_go_tech_stack

src/repository.rs:199–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197
198 #[tokio::test]
199 async fn test_detect_go_tech_stack() {
200 let temp_dir = TempDir::new().unwrap();
201
202 // Create go.mod file
203 tokio::fs::write(temp_dir.path().join("go.mod"), "")
204 .await
205 .unwrap();
206
207 let result = detect_stack(temp_dir.path()).await.unwrap();
208 assert_eq!(result, "go");
209 }
210
211 #[tokio::test]
212 async fn test_detect_java_tech_stack() {

Callers

nothing calls this directly

Calls 2

detect_stackFunction · 0.85
pathMethod · 0.80

Tested by

no test coverage detected