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

Function test_detect_c

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

Source from the content-addressed store, hash-verified

407
408 #[test]
409 fn test_detect_c() {
410 assert_eq!(Language::detect("main.c"), Some(Language::C));
411 assert_eq!(Language::detect("src/util.c"), Some(Language::C));
412 }
413
414 #[test]
415 fn test_detect_unsupported() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected