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

Function test_status_builder_chain

atomic-cli/src/commands/status.rs:1433–1442  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1431
1432 #[test]
1433 fn test_status_builder_chain() {
1434 let status = Status::new()
1435 .with_path("src/")
1436 .with_short(true)
1437 .with_no_untracked(true);
1438
1439 assert_eq!(status.path, Some("src/".to_string()));
1440 assert!(status.short);
1441 assert!(status.no_untracked);
1442 }
1443
1444 // StatusOutputConfig Tests
1445

Callers

nothing calls this directly

Calls 3

with_no_untrackedMethod · 0.80
with_shortMethod · 0.80
with_pathMethod · 0.45

Tested by

no test coverage detected