()
| 758 | |
| 759 | #[test] |
| 760 | fn test_format_timestamp_relative_days() { |
| 761 | let ts = Utc::now() - chrono::Duration::days(3); |
| 762 | let formatted = format_timestamp_relative(&ts); |
| 763 | assert!(formatted.contains("days ago")); |
| 764 | } |
| 765 | |
| 766 | #[test] |
| 767 | fn test_format_timestamp_relative_weeks() { |
nothing calls this directly
no test coverage detected