rustc_tool_utils bump version in anticipation of a new release
cc https://github.com/rust-lang/rust-clippy/issues/9553
This commit is contained in:
@@ -137,7 +137,7 @@ mod test {
|
||||
let vi = get_version_info!();
|
||||
assert_eq!(vi.major, 0);
|
||||
assert_eq!(vi.minor, 2);
|
||||
assert_eq!(vi.patch, 0);
|
||||
assert_eq!(vi.patch, 1);
|
||||
assert_eq!(vi.crate_name, "rustc_tools_util");
|
||||
// hard to make positive tests for these since they will always change
|
||||
assert!(vi.commit_hash.is_none());
|
||||
@@ -147,7 +147,7 @@ mod test {
|
||||
#[test]
|
||||
fn test_display_local() {
|
||||
let vi = get_version_info!();
|
||||
assert_eq!(vi.to_string(), "rustc_tools_util 0.2.0");
|
||||
assert_eq!(vi.to_string(), "rustc_tools_util 0.2.1");
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -156,7 +156,7 @@ mod test {
|
||||
let s = format!("{vi:?}");
|
||||
assert_eq!(
|
||||
s,
|
||||
"VersionInfo { crate_name: \"rustc_tools_util\", major: 0, minor: 2, patch: 0 }"
|
||||
"VersionInfo { crate_name: \"rustc_tools_util\", major: 0, minor: 2, patch: 1 }"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user