@@ -4291,8 +4291,7 @@ pub fn request_plugin_permissions() {
4291
4291
pub fn granted_permission_request_result ( ) {
4292
4292
let temp_folder = tempdir ( ) . unwrap ( ) ;
4293
4293
let plugin_host_folder = PathBuf :: from ( temp_folder. path ( ) ) ;
4294
- let ( plugin_thread_sender, _, mut teardown) =
4295
- create_plugin_thread ( Some ( plugin_host_folder) ) ;
4294
+ let ( plugin_thread_sender, _, mut teardown) = create_plugin_thread ( Some ( plugin_host_folder) ) ;
4296
4295
let plugin_should_float = Some ( false ) ;
4297
4296
let plugin_title = Some ( "test_plugin" . to_owned ( ) ) ;
4298
4297
let run_plugin = RunPlugin {
@@ -4337,8 +4336,7 @@ pub fn granted_permission_request_result() {
4337
4336
pub fn denied_permission_request_result ( ) {
4338
4337
let temp_folder = tempdir ( ) . unwrap ( ) ;
4339
4338
let plugin_host_folder = PathBuf :: from ( temp_folder. path ( ) ) ;
4340
- let ( plugin_thread_sender, _, mut teardown) =
4341
- create_plugin_thread ( Some ( plugin_host_folder) ) ;
4339
+ let ( plugin_thread_sender, _, mut teardown) = create_plugin_thread ( Some ( plugin_host_folder) ) ;
4342
4340
let plugin_should_float = Some ( false ) ;
4343
4341
let plugin_title = Some ( "test_plugin" . to_owned ( ) ) ;
4344
4342
let run_plugin = RunPlugin {
@@ -4376,4 +4374,4 @@ pub fn denied_permission_request_result() {
4376
4374
let permissions = granted_permission. get ( & run_plugin. location . to_string ( ) ) ;
4377
4375
4378
4376
assert_snapshot ! ( format!( "{:#?}" , permissions) ) ;
4379
- }
4377
+ }
0 commit comments