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

Function test_split_with_source

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

Source from the content-addressed store, hash-verified

257
258 #[test]
259 fn test_split_with_source() {
260 let cmd = Split::new("feature").with_source("main");
261 assert_eq!(cmd.name, "feature");
262 assert_eq!(cmd.source, Some("main".to_string()));
263 }
264
265 #[test]
266 fn test_split_with_switch() {

Callers

nothing calls this directly

Calls 1

with_sourceMethod · 0.80

Tested by

no test coverage detected