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

Function test_detect_rust

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

Source from the content-addressed store, hash-verified

376
377 #[test]
378 fn test_detect_rust() {
379 assert_eq!(Language::detect("src/main.rs"), Some(Language::Rust));
380 assert_eq!(Language::detect("lib.rs"), Some(Language::Rust));
381 }
382
383 #[test]
384 fn test_detect_go() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected