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

Function test_status_builder_chain

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

Source from the content-addressed store, hash-verified

675
676 #[test]
677 fn test_status_builder_chain() {
678 let status = Status::new()
679 .with_path("src/")
680 .with_short(true)
681 .with_no_untracked(true);
682
683 assert_eq!(status.path, Some("src/".to_string()));
684 assert!(status.short);
685 assert!(status.no_untracked);
686 }
687
688 // StatusOutputConfig Tests
689

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