@@ -6,7 +6,7 @@ fn test_local_error_copy_badge_shortcut_supported() {
66
77 let initial = render_and_snap ( & app, & mut terminal) ;
88 assert ! (
9- initial. contains( "[ S]" ) ,
9+ initial. contains( "⇧ S]" ) ,
1010 "expected visible error copy badge: {}" ,
1111 initial
1212 ) ;
@@ -44,7 +44,7 @@ fn test_clicking_copy_badge_copies_its_target() {
4444 let line = ( 0 ..area. width )
4545 . map ( |col| buf[ ( col, row) ] . symbol ( ) )
4646 . collect :: < String > ( ) ;
47- if let Some ( byte) = line. find ( "[ S]" ) {
47+ if let Some ( byte) = line. find ( "⇧ S]" ) {
4848 badge = Some ( ( line[ ..byte] . chars ( ) . count ( ) as u16 , row) ) ;
4949 break ' rows;
5050 }
@@ -77,7 +77,7 @@ fn test_local_tool_error_copy_badge_shortcut_supported() {
7777
7878 let initial = render_and_snap ( & app, & mut terminal) ;
7979 assert ! (
80- initial. contains( "[ S]" ) ,
80+ initial. contains( "⇧ S]" ) ,
8181 "expected visible tool error copy badge: {}" ,
8282 initial
8383 ) ;
@@ -108,7 +108,7 @@ fn test_local_tool_failed_output_copy_badge_shortcut_supported() {
108108
109109 let initial = render_and_snap ( & app, & mut terminal) ;
110110 assert ! (
111- initial. contains( "[ S]" ) ,
111+ initial. contains( "⇧ S]" ) ,
112112 "expected visible failed tool output copy badge: {}" ,
113113 initial
114114 ) ;
@@ -141,7 +141,7 @@ fn test_local_blockquote_copy_badge_shortcut_supported() {
141141
142142 let initial = render_and_snap ( & app, & mut terminal) ;
143143 assert ! (
144- initial. contains( "[ S]" ) ,
144+ initial. contains( "⇧ S]" ) ,
145145 "expected visible blockquote copy badge: {}" ,
146146 initial
147147 ) ;
@@ -200,7 +200,7 @@ fn test_copy_selection_select_all_uses_rendered_chat_text_without_copy_badges()
200200 assert ! ( selected. contains( "fn main() {" ) ) ;
201201 assert ! ( selected. contains( "println!(\" hello\" );" ) ) ;
202202 assert ! (
203- !selected. contains( "[Alt] " ) && !selected. contains( "[⌥] " ) ,
203+ !selected. contains( "[Alt⇧ " ) && !selected. contains( "[⌥⇧ " ) ,
204204 "selection should use chat text, not copy badge chrome: {}" ,
205205 selected
206206 ) ;
0 commit comments