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