aboutsummaryrefslogtreecommitdiff
path: root/textwrap/tests/version-numbers.rs
blob: 85c52e372f4f8f97e3d4734eae5eefb36661903d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[macro_use]
extern crate version_sync;

#[test]
fn test_readme_deps() {
    assert_markdown_deps_updated!("README.md");
}

#[test]
fn test_readme_changelog() {
    assert_contains_regex!("README.md", r"^### Version {version} — .* \d\d?.., 20\d\d$");
}

#[test]
fn test_html_root_url() {
    assert_html_root_url_updated!("src/lib.rs");
}