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

Source from the content-addressed store, hash-verified

1080
1081 #[test]
1082 fn test_short_format_no_panic_empty() {
1083 let status = Status::new().with_short(true);
1084 let repo_status = RepositoryStatus::new("dev".to_string(), None);
1085 // Should not panic
1086 let result = status.print_short_format(&repo_status);
1087 assert!(result.is_ok());
1088 }
1089
1090 #[test]
1091 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