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

Source from the content-addressed store, hash-verified

918
919 #[test]
920 fn test_get_ignore_template_rust() {
921 let template = get_ignore_template("rust");
922 assert!(template.is_some());
923 let content = template.unwrap();
924 assert!(content.contains("target/"));
925 assert!(content.contains("Cargo.lock"));
926 }
927
928 #[test]
929 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