MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_detect_go

Function test_detect_go

atomic-semantic/src/parsers/mod.rs:384–387  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

382
383 #[test]
384 fn test_detect_go() {
385 assert_eq!(Language::detect("main.go"), Some(Language::Go));
386 assert_eq!(Language::detect("pkg/auth/handler.go"), Some(Language::Go));
387 }
388
389 #[test]
390 fn test_detect_java() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected