summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Peter <mail@david-peter.de>2022-02-06 17:56:59 +0100
committerDavid Peter <sharkdp@users.noreply.github.com>2022-02-06 20:19:50 +0100
commita35e7e2caf3ca881c5119364e616536224f5bc65 (patch)
treea55c518dbd2392844ad7aaaae772e94723f6687e
parentc6477c7368c06bc282e020d94d9330994d275e9a (diff)
Fix formatting
-rw-r--r--src/options.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/options.rs b/src/options.rs
index 0cbd895..ce2951e 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -196,7 +196,13 @@ fn test_shell_parse_command() {
OptionsError::ShellParseError(_)
));
- assert!(matches!(Shell::parse("").unwrap_err(), OptionsError::EmptyShell));
+ assert!(matches!(
+ Shell::parse("").unwrap_err(),
+ OptionsError::EmptyShell
+ ));
- assert!(matches!(Shell::parse("''").unwrap_err(), OptionsError::EmptyShell));
+ assert!(matches!(
+ Shell::parse("''").unwrap_err(),
+ OptionsError::EmptyShell
+ ));
}