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:858–863  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

856
857 #[test]
858 fn test_get_ignore_template_c() {
859 let template = get_ignore_template("c");
860 assert!(template.is_some());
861 let content = template.unwrap();
862 assert!(content.contains("*.o"));
863 }
864
865 #[test]
866 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