mirror of
https://github.com/openai/codex.git
synced 2026-04-27 18:01:04 +03:00
remove unneeded test.
This commit is contained in:
@@ -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::<String>())
|
||||
.unwrap_or_default();
|
||||
assert!(reconstructed_first.contains("curl https://example.com"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user