From 99852907c69da01e130644833da261f2e418e951 Mon Sep 17 00:00:00 2001 From: binarybaron Date: Tue, 23 Jul 2024 21:23:17 +0200 Subject: [PATCH] fix: Unit tests --- swap/src/asb/command.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/swap/src/asb/command.rs b/swap/src/asb/command.rs index 07e4b7de..5530be46 100644 --- a/swap/src/asb/command.rs +++ b/swap/src/asb/command.rs @@ -395,7 +395,9 @@ mod tests { disable_timestamp: false, config_path: default_mainnet_conf_path, env_config: mainnet_env_config, - cmd: Command::History, + cmd: Command::History { + only_unfinished: false, + }, }; let args = parse_args(raw_ars).unwrap(); assert_eq!(expected_args, args); @@ -578,7 +580,9 @@ mod tests { disable_timestamp: false, config_path: default_testnet_conf_path, env_config: testnet_env_config, - cmd: Command::History, + cmd: Command::History { + only_unfinished: false, + } }; let args = parse_args(raw_ars).unwrap(); assert_eq!(expected_args, args);