aboutsummaryrefslogtreecommitdiffstats
path: root/default-plugins/fixture-plugin-for-tests
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2023-06-17 17:47:28 +0200
committerGitHub <noreply@github.com>2023-06-17 17:47:28 +0200
commit29a391f60eb3aeecba4682dfdb38cdcd2a61b2b2 (patch)
tree658c84255ebb026c9cf417fcb7a19734a290ac53 /default-plugins/fixture-plugin-for-tests
parentdocs(changelog): more plugin api methods (diff)
downloadsl0ppij-29a391f60eb3aeecba4682dfdb38cdcd2a61b2b2.tar.gz
sl0ppij-29a391f60eb3aeecba4682dfdb38cdcd2a61b2b2.tar.xz
sl0ppij-29a391f60eb3aeecba4682dfdb38cdcd2a61b2b2.zip
refactor(plugins): improve api (#2552)
* refactor(plugins): improve shim API * style(fmt): rustfmt
Diffstat (limited to 'default-plugins/fixture-plugin-for-tests')
-rw-r--r--default-plugins/fixture-plugin-for-tests/src/main.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/default-plugins/fixture-plugin-for-tests/src/main.rs b/default-plugins/fixture-plugin-for-tests/src/main.rs
index 9ce45f8a..20457f13 100644
--- a/default-plugins/fixture-plugin-for-tests/src/main.rs
+++ b/default-plugins/fixture-plugin-for-tests/src/main.rs
@@ -219,11 +219,7 @@ impl ZellijPlugin for State {
},
Event::SystemClipboardFailure => {
// this is just to trigger the worker message
- post_message_to(
- "test",
- "ping".to_owned(),
- "gimme_back_my_payload".to_owned(),
- );
+ post_message_to("test", "ping", "gimme_back_my_payload");
},
_ => {},
}