From 64d6d158d5216e73ee260e942e1307ecdb6e63dd Mon Sep 17 00:00:00 2001 From: David Wiesen Date: Thu, 30 Oct 2025 12:00:15 -0700 Subject: [PATCH] remove unneeded test. --- codex-rs/tui/src/render/highlight.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/codex-rs/tui/src/render/highlight.rs b/codex-rs/tui/src/render/highlight.rs index 557a131c81..b8ac86377b 100644 --- a/codex-rs/tui/src/render/highlight.rs +++ b/codex-rs/tui/src/render/highlight.rs @@ -247,15 +247,4 @@ mod tests { let body_style = body_style.expect("missing heredoc span"); assert!(body_style.add_modifier.contains(Modifier::DIM)); } - - #[test] - fn highlights_curl() { - let s = "curl https://example.com"; - let lines = highlight_bash_to_lines(s); - let reconstructed_first: String = lines - .get(0) - .map(|l| l.spans.iter().map(|sp| sp.content.clone()).collect::()) - .unwrap_or_default(); - assert!(reconstructed_first.contains("curl https://example.com")); - } }