Skip to content

Commit d5ff7f5

Browse files
committed
[tests] add dev-dependency version-sync and use it
1 parent 86167ea commit d5ff7f5

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ serde = { version = "1.0.27", optional = true }
2727
[dev-dependencies]
2828
serde_test = "1.0.27"
2929
bincode = "0.9.2"
30+
version-sync = "0.5"

tests/version-numbers.rs

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#[macro_use]
2+
extern crate version_sync;
3+
4+
#[test]
5+
fn test_readme_deps() {
6+
assert_markdown_deps_updated!("README.md");
7+
}
8+
9+
#[test]
10+
fn test_html_root_url() {
11+
assert_html_root_url_updated!("src/lib.rs");
12+
}

0 commit comments

Comments
 (0)