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

Function test_detect_unsupported

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

Source from the content-addressed store, hash-verified

413
414 #[test]
415 fn test_detect_unsupported() {
416 assert_eq!(Language::detect("README.md"), None);
417 assert_eq!(Language::detect("Cargo.toml"), None);
418 assert_eq!(Language::detect("image.png"), None);
419 assert_eq!(Language::detect("style.css"), None);
420 assert_eq!(Language::detect(""), None);
421 }
422
423 #[test]
424 fn test_detect_case_insensitive() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected