rustc_tool_utils: bump version to 0.2.0
This commit is contained in:
parent
39d1fea6d6
commit
c8443c1528
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rustc_tools_util"
|
||||
version = "0.1.1"
|
||||
version = "0.2.0"
|
||||
authors = ["Matthias Krüger <matthias.krueger@famsik.de>"]
|
||||
description = "small helper to generate version information for git packages"
|
||||
repository = "https://github.com/rust-lang/rust-clippy"
|
||||
|
@ -131,8 +131,8 @@ mod test {
|
||||
fn test_struct_local() {
|
||||
let vi = get_version_info!();
|
||||
assert_eq!(vi.major, 0);
|
||||
assert_eq!(vi.minor, 1);
|
||||
assert_eq!(vi.patch, 1);
|
||||
assert_eq!(vi.minor, 2);
|
||||
assert_eq!(vi.patch, 0);
|
||||
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());
|
||||
@ -142,7 +142,7 @@ mod test {
|
||||
#[test]
|
||||
fn test_display_local() {
|
||||
let vi = get_version_info!();
|
||||
assert_eq!(vi.to_string(), "rustc_tools_util 0.1.1");
|
||||
assert_eq!(vi.to_string(), "rustc_tools_util 0.2.0");
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -151,7 +151,7 @@ mod test {
|
||||
let s = format!("{:?}", vi);
|
||||
assert_eq!(
|
||||
s,
|
||||
"VersionInfo { crate_name: \"rustc_tools_util\", major: 0, minor: 1, patch: 1 }"
|
||||
"VersionInfo { crate_name: \"rustc_tools_util\", major: 0, minor: 2, patch: 0 }"
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user