File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,8 @@ fn set_up() -> (BadgeTestCrate, BadgeRef) {
151
151
branch : String :: from ( "beta" ) ,
152
152
} ;
153
153
let mut badge_attributes_bitbucket_pipelines = HashMap :: new ( ) ;
154
- badge_attributes_bitbucket_pipelines. insert ( String :: from ( "repository" ) , String :: from ( "rust-lang/rust" ) ) ;
154
+ badge_attributes_bitbucket_pipelines
155
+ . insert ( String :: from ( "repository" ) , String :: from ( "rust-lang/rust" ) ) ;
155
156
badge_attributes_bitbucket_pipelines. insert ( String :: from ( "branch" ) , String :: from ( "beta" ) ) ;
156
157
157
158
let maintenance = Badge :: Maintenance {
@@ -331,7 +332,10 @@ fn update_add_bitbucket_pipelines() {
331
332
let ( krate, test_badges) = set_up ( ) ;
332
333
333
334
let mut badges = HashMap :: new ( ) ;
334
- badges. insert ( String :: from ( "bitbucket-pipelines" ) , test_badges. bitbucket_pipelines_attributes ) ;
335
+ badges. insert (
336
+ String :: from ( "bitbucket-pipelines" ) ,
337
+ test_badges. bitbucket_pipelines_attributes ,
338
+ ) ;
335
339
krate. update ( & badges) ;
336
340
assert_eq ! ( krate. badges( ) , vec![ test_badges. bitbucket_pipelines] ) ;
337
341
}
You can’t perform that action at this time.
0 commit comments