//! Test Cases
#[test]
fn test_html_root_url() {
version_sync::assert_html_root_url_updated!("src/lib.rs");
}
#[test]
fn test_changelog() {
version_sync::assert_contains_regex!("CHANGELOG.md", r"## \[{version}\]");
}
#[test]
fn test_serde_with_dependency() {
version_sync::assert_contains_regex!(
"../serde_with/Cargo.toml",
r#"^serde_with_macros = .*? version = "={version}""#
);
}