about summary refs log tree commit diff
path: root/rustc_tools_util
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2019-05-23 17:30:05 +0200
committerMatthias Krüger <matthias.krueger@famsik.de>2019-05-23 17:30:05 +0200
commitc8443c1528939fc3955fed67c0422dee12306a8e (patch)
tree0b9e79c7d2be5937858df15008aa05c77704af51 /rustc_tools_util
parent39d1fea6d60235ee1fae82acf326c88e488bc110 (diff)
downloadrust-c8443c1528939fc3955fed67c0422dee12306a8e.tar.gz
rust-c8443c1528939fc3955fed67c0422dee12306a8e.zip
rustc_tool_utils: bump version to 0.2.0
Diffstat (limited to 'rustc_tools_util')
-rw-r--r--rustc_tools_util/Cargo.toml2
-rw-r--r--rustc_tools_util/src/lib.rs8
2 files changed, 5 insertions, 5 deletions
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 <matthias.krueger@famsik.de>"]
 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 }"
         );
     }