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

Source from the content-addressed store, hash-verified

1740
1741 #[test]
1742 fn test_short_format_no_panic_empty() {
1743 let status = Status::new().with_short(true);
1744 let repo_status = RepositoryStatus::new("dev".to_string(), None);
1745 // Should not panic
1746 let result = status.print_short_format(&repo_status);
1747 assert!(result.is_ok());
1748 }
1749
1750 #[test]
1751 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