()
| 767 | |
| 768 | #[test] |
| 769 | fn test_format_timestamp_relative_days() { |
| 770 | let ts = Utc::now() - chrono::Duration::days(3); |
| 771 | let formatted = format_timestamp_relative(&ts); |
| 772 | assert!(formatted.contains("days ago")); |
| 773 | } |
| 774 | |
| 775 | #[test] |
| 776 | fn test_format_timestamp_relative_weeks() { |
nothing calls this directly
no test coverage detected