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

Function test_get_ignore_template_rust

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

Source from the content-addressed store, hash-verified

802
803 #[test]
804 fn test_get_ignore_template_rust() {
805 let template = get_ignore_template("rust");
806 assert!(template.is_some());
807 let content = template.unwrap();
808 assert!(content.contains("target/"));
809 assert!(content.contains("Cargo.lock"));
810 }
811
812 #[test]
813 fn test_get_ignore_template_python() {

Callers

nothing calls this directly

Calls 2

get_ignore_templateFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected