()
| 1749 | |
| 1750 | #[test] |
| 1751 | fn start_year_month_format() { |
| 1752 | let topic1 = topic("Climate change"); |
| 1753 | let change = change(&topic1, TimerangePrefixFormat::StartYearMonth); |
| 1754 | |
| 1755 | assert_eq!( |
| 1756 | change.markdown(Locale::EN, "Gnusto", None), |
| 1757 | format!( |
| 1758 | r#"Gnusto updated the time prefix for [Climate change]({}) to be "1970-01""#, |
| 1759 | topic1.relative_url() |
| 1760 | ) |
| 1761 | ); |
| 1762 | } |
| 1763 | |
| 1764 | #[test] |
| 1765 | fn none_format() { |