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

Function test_short_format_no_panic_empty

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

Source from the content-addressed store, hash-verified

926
927 #[test]
928 fn test_short_format_no_panic_empty() {
929 let status = Status::new().with_short(true);
930 let repo_status = RepositoryStatus::new("dev".to_string(), None);
931 // Should not panic
932 let result = status.print_short_format(&repo_status);
933 assert!(result.is_ok());
934 }
935
936 #[test]
937 fn test_short_format_no_panic_with_entries() {

Callers

nothing calls this directly

Calls 2

with_shortMethod · 0.80
print_short_formatMethod · 0.80

Tested by

no test coverage detected