mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
TUI support for buffer experience (#29919)
This commit is contained in:
1 parent
3e51b46eba
commit
6801941cfe
18 files changed
+620
-3
No files matched your search
@@ -699,6 +699,13 @@ fn cyber_policy_error_event_snapshot() {
|
||||
insta::assert_snapshot!(rendered);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn safety_access_block_event_snapshot() {
|
||||
let cell = new_safety_access_block_event();
|
||||
let rendered = render_lines(&cell.display_lines(/*width*/ 80)).join("\n");
|
||||
insta::assert_snapshot!(rendered);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn cyber_policy_error_event_narrow_snapshot() {
|
||||
let cell = new_cyber_policy_error_event();
|
||||
|
||||
Reference in new issue
Block a user