fix: replace assert! with panic! for clippy
This commit is contained in:
1 parent
973602fcfb
commit
9751243b3a
9 files changed
+16
-16
No files matched your search
@@ -496,7 +496,7 @@ mod tests {
|
||||
|
||||
match manager.save(&config) {
|
||||
Ok(_) => {}
|
||||
Err(e) => assert!(false, "save failed: {}", e),
|
||||
Err(e) => panic!("save failed: {}", e),
|
||||
}
|
||||
|
||||
let all = manager.load_all();
|
||||
|
||||
Reference in new issue
Block a user