From 3492c529c5c608ae0f3f0302cc04ee1394d7c030 Mon Sep 17 00:00:00 2001 From: Luro02 <24826124+Luro02@users.noreply.github.com> Date: Thu, 9 Apr 2020 08:19:28 +0200 Subject: [PATCH] add `version-sync` --- Cargo.toml | 1 + tests/version-number.rs | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 tests/version-number.rs diff --git a/Cargo.toml b/Cargo.toml index 7abd9c0..df43eaf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,3 +29,4 @@ strum = { version = "0.17", features = ["derive"] } [dev-dependencies] pretty_assertions = "0.6" +version-sync = "0.9" diff --git a/tests/version-number.rs b/tests/version-number.rs new file mode 100644 index 0000000..288592d --- /dev/null +++ b/tests/version-number.rs @@ -0,0 +1,9 @@ +#[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"); +}