diff options
author | Nadrieril | 2020-03-21 21:56:09 +0000 |
---|---|---|
committer | Nadrieril | 2020-03-31 21:45:29 +0100 |
commit | 196491a37a9ab2869ab6d76e1417a85a9e033dd4 (patch) | |
tree | 1c4477219d714ddd725f335ed037ac882467bb68 /serde_dhall/tests | |
parent | b0ee39b006ad2ca99bd3dddf06ab0e0dcc966d2f (diff) |
Ensure version numbers are kept in sync
Diffstat (limited to 'serde_dhall/tests')
-rw-r--r-- | serde_dhall/tests/version_numbers.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/serde_dhall/tests/version_numbers.rs b/serde_dhall/tests/version_numbers.rs new file mode 100644 index 0000000..97254a9 --- /dev/null +++ b/serde_dhall/tests/version_numbers.rs @@ -0,0 +1,14 @@ +#[test] +fn test_readme_deps() { + version_sync::assert_markdown_deps_updated!("../README.md"); +} + +#[test] +fn test_html_root_url() { + version_sync::assert_html_root_url_updated!("src/lib.rs"); +} + +#[test] +fn test_readme_mentions_version() { + version_sync::assert_contains_regex!("../README.md", "^#### \\[{version}\\]"); +} |