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 11[package ]
22name = " rustc_tools_util"
3- version = " 0.3 .0"
3+ version = " 0.4 .0"
44description = " small helper to generate version information for git packages"
55repository = " https://github.com/rust-lang/rust-clippy"
66readme = " README.md"
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ mod test {
178178 fn test_struct_local ( ) {
179179 let vi = get_version_info ! ( ) ;
180180 assert_eq ! ( vi. major, 0 ) ;
181- assert_eq ! ( vi. minor, 3 ) ;
181+ assert_eq ! ( vi. minor, 4 ) ;
182182 assert_eq ! ( vi. patch, 0 ) ;
183183 assert_eq ! ( vi. crate_name, "rustc_tools_util" ) ;
184184 // hard to make positive tests for these since they will always change
@@ -189,7 +189,7 @@ mod test {
189189 #[ test]
190190 fn test_display_local ( ) {
191191 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" ) ;
193193 }
194194
195195 #[ test]
@@ -198,7 +198,7 @@ mod test {
198198 let s = format ! ( "{vi:?}" ) ;
199199 assert_eq ! (
200200 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 }"
202202 ) ;
203203 }
204204}
You can’t perform that action at this time.
0 commit comments