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

Source from the content-addressed store, hash-verified

789
790 #[test]
791 fn test_get_ignore_template_rust() {
792 let template = get_ignore_template("rust");
793 assert!(template.is_some());
794 let content = template.unwrap();
795 assert!(content.contains("target/"));
796 assert!(content.contains("Cargo.lock"));
797 }
798
799 #[test]
800 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