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

Function start_year_format

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

Source from the content-addressed store, hash-verified

1735
1736 #[test]
1737 fn start_year_format() {
1738 let topic1 = topic("Climate change");
1739 let change = change(&topic1, TimerangePrefixFormat::StartYear);
1740
1741 assert_eq!(
1742 change.markdown(Locale::EN, "Gnusto", None),
1743 format!(
1744 r#"Gnusto updated the time prefix for [Climate change]({}) to be "1970""#,
1745 topic1.relative_url()
1746 )
1747 );
1748 }
1749
1750 #[test]
1751 fn start_year_month_format() {

Callers

nothing calls this directly

Calls 2

topicFunction · 0.85
changeFunction · 0.85

Tested by

no test coverage detected