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

Function test_split_with_source

atomic-cli/src/commands/split.rs:272–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

270
271 #[test]
272 fn test_split_with_source() {
273 let cmd = Split::new("feature").with_source("main");
274 assert_eq!(cmd.name, "feature");
275 assert_eq!(cmd.source, Some("main".to_string()));
276 }
277
278 #[test]
279 fn test_split_with_switch() {

Callers

nothing calls this directly

Calls 1

with_sourceMethod · 0.80

Tested by

no test coverage detected