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

Function test_output_config_builder_chain

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

Source from the content-addressed store, hash-verified

723
724 #[test]
725 fn test_output_config_builder_chain() {
726 let config = StatusOutputConfig::new()
727 .short()
728 .hide_untracked()
729 .filter_path("tests/");
730
731 assert!(config.short);
732 assert!(config.no_untracked);
733 assert_eq!(config.path_filter, Some("tests/".to_string()));
734 }
735
736 // Status Options Conversion Tests
737

Callers

nothing calls this directly

Calls 3

hide_untrackedMethod · 0.80
filter_pathMethod · 0.45
shortMethod · 0.45

Tested by

no test coverage detected