Fix test to use FromStr instead of removed parse_events_target fn
https://claude.ai/code/session_01NFGc15XXN1PGGa2hFom7RA
change
commit ec40c16b2cc791bc59b740868f113ef75726d65a
author Claude <noreply@anthropic.com>
date
parent db210093
diff --git a/quire-ci/src/main.rs b/quire-ci/src/main.rs
index 10495ba..d09d4b6 100644
--- a/quire-ci/src/main.rs
+++ b/quire-ci/src/main.rs
@@ -595,12 +595,9 @@ mod tests {
 
     #[test]
     fn parse_events_target_classifies_input() {
-        assert!(matches!(parse_events_target("null"), EventsTarget::Null));
-        assert!(matches!(
-            parse_events_target("stdout"),
-            EventsTarget::Stdout
-        ));
-        let EventsTarget::File(path) = parse_events_target("/tmp/run.jsonl") else {
+        assert!(matches!("null".parse(), Ok(EventsTarget::Null)));
+        assert!(matches!("stdout".parse(), Ok(EventsTarget::Stdout)));
+        let Ok(EventsTarget::File(path)) = "/tmp/run.jsonl".parse::<EventsTarget>() else {
             panic!("expected File target");
         };
         assert_eq!(path, PathBuf::from("/tmp/run.jsonl"));