from panic
This commit is contained in:
@@ -114,7 +114,7 @@ mod test_flags {
|
||||
fn add(files: Vec<String>, added: String, add_schedule: Option<String>) -> Result<(), String> {
|
||||
let task = Delta::new(added, add_schedule);
|
||||
|
||||
panic!("append {:?} to {:?}", &task, &files);
|
||||
Err(format!("append {:?} to {:?}", &task, &files))
|
||||
}
|
||||
|
||||
fn reconcile(files: Vec<String>) -> Result<(), String> {
|
||||
|
||||
Reference in New Issue
Block a user