from panic

This commit is contained in:
Bel LaPointe
2026-02-01 11:48:39 -07:00
parent 05dfbcc270
commit d6167c84bf

View File

@@ -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> {