This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " rustc_tools_util"
3
- version = " 0.3 .0"
3
+ version = " 0.4 .0"
4
4
description = " small helper to generate version information for git packages"
5
5
repository = " https://github.com/rust-lang/rust-clippy"
6
6
readme = " README.md"
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ mod test {
178
178
fn test_struct_local ( ) {
179
179
let vi = get_version_info ! ( ) ;
180
180
assert_eq ! ( vi. major, 0 ) ;
181
- assert_eq ! ( vi. minor, 3 ) ;
181
+ assert_eq ! ( vi. minor, 4 ) ;
182
182
assert_eq ! ( vi. patch, 0 ) ;
183
183
assert_eq ! ( vi. crate_name, "rustc_tools_util" ) ;
184
184
// hard to make positive tests for these since they will always change
@@ -189,7 +189,7 @@ mod test {
189
189
#[ test]
190
190
fn test_display_local ( ) {
191
191
let vi = get_version_info ! ( ) ;
192
- assert_eq ! ( vi. to_string( ) , "rustc_tools_util 0.3 .0" ) ;
192
+ assert_eq ! ( vi. to_string( ) , "rustc_tools_util 0.4 .0" ) ;
193
193
}
194
194
195
195
#[ test]
@@ -198,7 +198,7 @@ mod test {
198
198
let s = format ! ( "{vi:?}" ) ;
199
199
assert_eq ! (
200
200
s,
201
- "VersionInfo { crate_name: \" rustc_tools_util\" , major: 0, minor: 3 , patch: 0 }"
201
+ "VersionInfo { crate_name: \" rustc_tools_util\" , major: 0, minor: 4 , patch: 0 }"
202
202
) ;
203
203
}
204
204
}
You can’t perform that action at this time.
0 commit comments