From d6167c84bfe2f18e9930e8e89f6be592ba2d9e2c Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Sun, 1 Feb 2026 11:48:39 -0700 Subject: [PATCH] from panic --- pttodoest/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pttodoest/src/main.rs b/pttodoest/src/main.rs index bd7275f..9461615 100755 --- a/pttodoest/src/main.rs +++ b/pttodoest/src/main.rs @@ -114,7 +114,7 @@ mod test_flags { fn add(files: Vec, added: String, add_schedule: Option) -> Result<(), String> { let task = Delta::new(added, add_schedule); - panic!("append {:?} to {:?}", &task, &files); + Err(format!("append {:?} to {:?}", &task, &files)) } fn reconcile(files: Vec) -> Result<(), String> {