From c8443c1528939fc3955fed67c0422dee12306a8e Mon Sep 17 00:00:00 2001 From: Matthias Krüger Date: Thu, 23 May 2019 17:30:05 +0200 Subject: rustc_tool_utils: bump version to 0.2.0 --- rustc_tools_util/Cargo.toml | 2 +- rustc_tools_util/src/lib.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'rustc_tools_util') diff --git a/rustc_tools_util/Cargo.toml b/rustc_tools_util/Cargo.toml index 70ff86c49af..43e14ea174d 100644 --- a/rustc_tools_util/Cargo.toml +++ b/rustc_tools_util/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustc_tools_util" -version = "0.1.1" +version = "0.2.0" authors = ["Matthias Krüger "] description = "small helper to generate version information for git packages" repository = "https://github.com/rust-lang/rust-clippy" diff --git a/rustc_tools_util/src/lib.rs b/rustc_tools_util/src/lib.rs index 8f89d50c64a..ec3b69219e7 100644 --- a/rustc_tools_util/src/lib.rs +++ b/rustc_tools_util/src/lib.rs @@ -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 }" ); } -- cgit 1.4.1-3-g733a5