()
| 749 | |
| 750 | #[test] |
| 751 | fn test_format_timestamp_relative_hours() { |
| 752 | let ts = Utc::now() - chrono::Duration::hours(3); |
| 753 | let formatted = format_timestamp_relative(&ts); |
| 754 | assert!(formatted.contains("hours ago")); |
| 755 | } |
| 756 | |
| 757 | #[test] |
| 758 | fn test_format_timestamp_relative_yesterday() { |
nothing calls this directly
no test coverage detected