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

Function test_long_format_no_panic_empty

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

Source from the content-addressed store, hash-verified

949
950 #[test]
951 fn test_long_format_no_panic_empty() {
952 let status = Status::new();
953 let repo_status = RepositoryStatus::new("dev".to_string(), None);
954 // Should not panic
955 let result = status.print_long_format(&repo_status);
956 assert!(result.is_ok());
957 }
958
959 #[test]
960 fn test_long_format_no_panic_with_entries() {

Callers

nothing calls this directly

Calls 1

print_long_formatMethod · 0.80

Tested by

no test coverage detected