summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Isidoro <denisidoro@users.noreply.github.com>2021-10-30 18:07:05 -0300
committerGitHub <noreply@github.com>2021-10-30 18:07:05 -0300
commit95e57cf084e7e76571608f1eebca7de3006b57b8 (patch)
tree8ca56216113f73412ffb8a1b83d86e1ba68a4edf /src
parent63e9d1364edb92b8b29f3227b21eede9590c054f (diff)
Update to rust 1.56.0 and 2021 edition (#637)
Diffstat (limited to 'src')
-rw-r--r--src/config/cli.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config/cli.rs b/src/config/cli.rs
index 6b07e43..c92aac8 100644
--- a/src/config/cli.rs
+++ b/src/config/cli.rs
@@ -217,28 +217,28 @@ mod tests {
#[test]
fn test_widget_possible_values() {
for v in WIDGET_POSSIBLE_VALUES {
- assert_eq!(true, Shell::from_str(v).is_ok())
+ assert!(Shell::from_str(v).is_ok())
}
}
#[test]
fn test_info_possible_values() {
for v in INFO_POSSIBLE_VALUES {
- assert_eq!(true, Info::from_str(v).is_ok())
+ assert!(Info::from_str(v).is_ok())
}
}
#[test]
fn test_func_possible_values() {
for v in FUNC_POSSIBLE_VALUES {
- assert_eq!(true, Func::from_str(v).is_ok())
+ assert!(Func::from_str(v).is_ok())
}
}
#[test]
fn test_finder_possible_values() {
for v in FINDER_POSSIBLE_VALUES {
- assert_eq!(true, FinderChoice::from_str(v).is_ok())
+ assert!(FinderChoice::from_str(v).is_ok())
}
}
}