Skip to content

Commit c8443c1

Browse files
committedMay 23, 2019
rustc_tool_utils: bump version to 0.2.0
1 parent 39d1fea commit c8443c1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎rustc_tools_util/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustc_tools_util"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["Matthias Krüger <matthias.krueger@famsik.de>"]
55
description = "small helper to generate version information for git packages"
66
repository = "https://github.com/rust-lang/rust-clippy"

‎rustc_tools_util/src/lib.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ mod test {
131131
fn test_struct_local() {
132132
let vi = get_version_info!();
133133
assert_eq!(vi.major, 0);
134-
assert_eq!(vi.minor, 1);
135-
assert_eq!(vi.patch, 1);
134+
assert_eq!(vi.minor, 2);
135+
assert_eq!(vi.patch, 0);
136136
assert_eq!(vi.crate_name, "rustc_tools_util");
137137
// hard to make positive tests for these since they will always change
138138
assert!(vi.commit_hash.is_none());
@@ -142,7 +142,7 @@ mod test {
142142
#[test]
143143
fn test_display_local() {
144144
let vi = get_version_info!();
145-
assert_eq!(vi.to_string(), "rustc_tools_util 0.1.1");
145+
assert_eq!(vi.to_string(), "rustc_tools_util 0.2.0");
146146
}
147147

148148
#[test]
@@ -151,7 +151,7 @@ mod test {
151151
let s = format!("{:?}", vi);
152152
assert_eq!(
153153
s,
154-
"VersionInfo { crate_name: \"rustc_tools_util\", major: 0, minor: 1, patch: 1 }"
154+
"VersionInfo { crate_name: \"rustc_tools_util\", major: 0, minor: 2, patch: 0 }"
155155
);
156156
}
157157

0 commit comments

Comments
 (0)
Please sign in to comment.