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

Function test_get_ignore_template_c

atomic-cli/src/commands/init.rs:845–850  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

843
844 #[test]
845 fn test_get_ignore_template_c() {
846 let template = get_ignore_template("c");
847 assert!(template.is_some());
848 let content = template.unwrap();
849 assert!(content.contains("*.o"));
850 }
851
852 #[test]
853 fn test_get_ignore_template_cpp() {

Callers

nothing calls this directly

Calls 2

get_ignore_templateFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected