()
| 782 | |
| 783 | #[test] |
| 784 | fn test_format_timestamp_relative_days() { |
| 785 | let ts = Utc::now() - chrono::Duration::days(3); |
| 786 | let formatted = format_timestamp_relative(&ts); |
| 787 | assert!(formatted.contains("days ago")); |
| 788 | } |
| 789 | |
| 790 | #[test] |
| 791 | fn test_format_timestamp_relative_weeks() { |
nothing calls this directly
no test coverage detected