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:1481–1490  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1479
1480 #[test]
1481 fn test_output_config_builder_chain() {
1482 let config = StatusOutputConfig::new()
1483 .short()
1484 .hide_untracked()
1485 .filter_path("tests/");
1486
1487 assert!(config.short);
1488 assert!(config.no_untracked);
1489 assert_eq!(config.path_filter, Some("tests/".to_string()));
1490 }
1491
1492 // Status Options Conversion Tests
1493

Callers

nothing calls this directly

Calls 3

hide_untrackedMethod · 0.80
filter_pathMethod · 0.45
shortMethod · 0.45

Tested by

no test coverage detected