Skip to content

Commit

Permalink
apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeheonji committed Jul 31, 2023
1 parent 14f1084 commit a4e9370
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions zellij-server/src/plugins/unit/plugin_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4291,8 +4291,7 @@ pub fn request_plugin_permissions() {
pub fn granted_permission_request_result() {
let temp_folder = tempdir().unwrap();
let plugin_host_folder = PathBuf::from(temp_folder.path());
let (plugin_thread_sender, _, mut teardown) =
create_plugin_thread(Some(plugin_host_folder));
let (plugin_thread_sender, _, mut teardown) = create_plugin_thread(Some(plugin_host_folder));
let plugin_should_float = Some(false);
let plugin_title = Some("test_plugin".to_owned());
let run_plugin = RunPlugin {
Expand Down Expand Up @@ -4337,8 +4336,7 @@ pub fn granted_permission_request_result() {
pub fn denied_permission_request_result() {
let temp_folder = tempdir().unwrap();
let plugin_host_folder = PathBuf::from(temp_folder.path());
let (plugin_thread_sender, _, mut teardown) =
create_plugin_thread(Some(plugin_host_folder));
let (plugin_thread_sender, _, mut teardown) = create_plugin_thread(Some(plugin_host_folder));
let plugin_should_float = Some(false);
let plugin_title = Some("test_plugin".to_owned());
let run_plugin = RunPlugin {
Expand Down Expand Up @@ -4376,4 +4374,4 @@ pub fn denied_permission_request_result() {
let permissions = granted_permission.get(&run_plugin.location.to_string());

assert_snapshot!(format!("{:#?}", permissions));
}
}

0 comments on commit a4e9370

Please sign in to comment.