aboutsummaryrefslogtreecommitdiffstats
path: root/benches/widgets.rs
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2023-12-26 12:07:33 +0100
committerDaniel Jankowski <daniel.jankowski@rub.de>2023-12-26 12:07:33 +0100
commit7e939328f9ec45fbcd856474dd7c464e3ff402bb (patch)
tree9bb682a5d63c4214d14d6ab25f80091a54c64bea /benches/widgets.rs
parentchore: update cargo deps (diff)
downloadsl0pstatus-7e939328f9ec45fbcd856474dd7c464e3ff402bb.tar.gz
sl0pstatus-7e939328f9ec45fbcd856474dd7c464e3ff402bb.tar.xz
sl0pstatus-7e939328f9ec45fbcd856474dd7c464e3ff402bb.zip
feat: implement cache for dynamic command rendering
Diffstat (limited to 'benches/widgets.rs')
-rw-r--r--benches/widgets.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/widgets.rs b/benches/widgets.rs
index 1148cdb..d8d6212 100644
--- a/benches/widgets.rs
+++ b/benches/widgets.rs
@@ -63,7 +63,7 @@ fn bench_widget_command_dynamic(c: &mut Criterion) {
"command_test".to_owned(),
widgets::command::CommandResult {
exit_code: Some(0),
- stdout: "#[fg=#9399B2,bg=#181825,bold,italic] test".to_owned(),
+ stdout: "#[fg=#9399B2,bg=#181825,bold,italic] test #[fg=#9399B2,bg=#181825,bold,italic] test".to_owned(),
stderr: "".to_owned(),
context: BTreeMap::from([(
"timestamp".to_owned(),