Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbb committed Aug 3, 2023
1 parent 63fe41c commit 1bef3b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions serde_with/tests/version_numbers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ fn test_serde_with_macros_dependency() {
"../serde_with/Cargo.toml",
r#"^serde_with_macros = .*? version = "={version}""#
);
version_sync::assert_contains_regex!(
"../serde_with_macros/Cargo.toml",
r#"^version = "{version}""#
);
version_sync::assert_contains_regex!("../Cargo.toml", r#"^version = "{version}""#);
}

/// Check that all docs.rs links point to the current version
Expand Down
3 changes: 2 additions & 1 deletion serde_with_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ syn.workspace = true
expect-test.workspace = true
pretty_assertions.workspace = true
rustversion.workspace = true
serde.default-features = true
serde.features = ["default"]
serde.workspace = true
serde_json.features = ["default"]
serde_json.workspace = true
trybuild.workspace = true
version-sync.workspace = true
Expand Down

0 comments on commit 1bef3b0

Please sign in to comment.