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