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

Function test_detect_python

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

Source from the content-addressed store, hash-verified

369
370 #[test]
371 fn test_detect_python() {
372 assert_eq!(Language::detect("main.py"), Some(Language::Python));
373 assert_eq!(Language::detect("types.pyi"), Some(Language::Python));
374 assert_eq!(Language::detect("src/utils.py"), Some(Language::Python));
375 }
376
377 #[test]
378 fn test_detect_rust() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected