File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -511,6 +511,28 @@ async fn remove_id() {
511
511
) ;
512
512
}
513
513
514
+ #[ tokio:: test( flavor = "multi_thread" ) ]
515
+ async fn remove_slug ( ) {
516
+ // Load the slugs into the config first
517
+ let mut args = get_args (
518
+ SubCommands :: List {
519
+ verbose : true ,
520
+ markdown : false ,
521
+ } ,
522
+ Some ( "two_profiles_one_empty" ) ,
523
+ ) ;
524
+ assert_matches ! ( actual_main( args. clone( ) ) . await , Ok ( ( ) ) ) ;
525
+
526
+ args. subcommand = SubCommands :: Remove {
527
+ mod_names : vec ! [
528
+ "starlight" . to_owned( ) ,
529
+ "incendium" . to_owned( ) ,
530
+ "sodium" . to_owned( ) ,
531
+ ] ,
532
+ } ;
533
+ assert_matches ! ( actual_main( args) . await , Ok ( ( ) ) ) ;
534
+ }
535
+
514
536
#[ tokio:: test( flavor = "multi_thread" ) ]
515
537
async fn delete_profile ( ) {
516
538
assert_matches ! (
You can’t perform that action at this time.
0 commit comments