MCPcopy Create free account
hub / github.com/emwalker/digraph / start_year_month_format

Function start_year_month_format

backend/src/git/activity.rs:1751–1762  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 2

topicFunction · 0.85
changeFunction · 0.85

Tested by

no test coverage detected