@@ -41,7 +41,7 @@ fn rub_api_unassigned_to_commit() {
4141 ] ) ;
4242
4343 tui. input_then_render ( KeyCode :: Enter )
44- . assert_current_line_eq ( str![ "╭┄zz [unassigned changes ] (no changes )" ] )
44+ . assert_current_line_eq ( str![ "┊● [.. ] (no commit message )" ] )
4545 . assert_rendered_term_svg_eq ( file ! [ "snapshots/rub_api_unassigned_to_commit.svg" ] ) ;
4646}
4747
@@ -235,7 +235,7 @@ fn rub_api_unassigned_to_stack_operation() {
235235 . assert_current_line_eq ( str![ "┊● << amend >> 9477ae7 add A" ] ) ;
236236
237237 tui. input_then_render ( KeyCode :: Enter )
238- . assert_current_line_eq ( str![ "╭┄zz [unassigned changes] " ] ) ;
238+ . assert_current_line_eq ( str![ "┊● [..] add A " ] ) ;
239239}
240240
241241// Tests RubOperation::UncommittedToStack.
@@ -262,7 +262,7 @@ fn rub_api_uncommitted_to_stack_operation() {
262262 . assert_current_line_eq ( str![ "┊● << amend >> 9477ae7 add A" ] ) ;
263263
264264 tui. input_then_render ( KeyCode :: Enter )
265- . assert_current_line_eq ( str![ "╭┄zz [unassigned changes] " ] ) ;
265+ . assert_current_line_eq ( str![ "┊● [..] add A " ] ) ;
266266}
267267
268268// Tests RubOperation::StackToUnassigned.
@@ -288,7 +288,7 @@ fn rub_api_stack_to_unassigned_operation() {
288288 . assert_current_line_eq ( str![ "┊● << amend >> 9477ae7 add A" ] ) ;
289289
290290 tui. input_then_render ( KeyCode :: Enter )
291- . assert_current_line_eq ( str![ "╭┄zz [unassigned changes] (no changes) " ] ) ;
291+ . assert_current_line_eq ( str![ "┊● [..] add A " ] ) ;
292292}
293293
294294// Tests RubOperation::StackToStack.
@@ -315,7 +315,7 @@ fn rub_api_stack_to_stack_operation() {
315315 . assert_current_line_eq ( str![ "┊● << amend >> 9477ae7 add A" ] ) ;
316316
317317 tui. input_then_render ( KeyCode :: Enter )
318- . assert_current_line_eq ( str![ "╭┄zz [unassigned changes] " ] ) ;
318+ . assert_current_line_eq ( str![ "┊● [..] add A " ] ) ;
319319
320320 tui. input_then_render ( [
321321 KeyCode :: Up ,
@@ -338,17 +338,11 @@ fn rub_api_stack_to_stack_operation() {
338338 . assert_current_line_eq ( str![ "┊● << amend >> d3e2ba3 add B" ] ) ;
339339
340340 tui. input_then_render ( KeyCode :: Enter )
341- . assert_current_line_eq ( str![ "╭┄zz [unassigned changes] (no changes) " ] ) ;
341+ . assert_current_line_eq ( str![ "┊● [..] add B " ] ) ;
342342
343343 tui. input_then_render ( ( KeyModifiers :: SHIFT , KeyCode :: Char ( 'K' ) ) )
344- . assert_current_line_eq ( str![ "╭┄zz [unassigned changes] (no changes) " ] ) ;
344+ . assert_current_line_eq ( str![ "┊╭┄h0 [B] " ] ) ;
345345
346- tui. input_then_render ( 'r' ) . assert_current_line_eq ( str![
347- "╭┄<< source >> << noop >> zz [unassigned changes] (no changes)"
348- ] ) ;
349-
350- tui. input_then_render ( [ KeyCode :: Up , KeyCode :: Up ] )
351- . assert_current_line_eq ( str![
352- "╭┄<< source >> << noop >> zz [unassigned changes] (no changes)"
353- ] ) ;
346+ tui. input_then_render ( 'r' )
347+ . assert_current_line_eq ( str![ "┊╭┄h0 [B]" ] ) ;
354348}
0 commit comments