@@ -312,7 +312,7 @@ fn hide_untracked() {
312312 // Git expects "no|normal|all" here; "off" can error on some versions and break `git status`.
313313 config. set_str ( "status.showUntrackedFiles" , "no" ) . unwrap ( ) ;
314314
315- ctx. update ( & mut app, keys ( "g " ) ) ;
315+ ctx. update ( & mut app, keys ( "gr " ) ) ;
316316 insta:: assert_snapshot!( ctx. redact_buffer( ) ) ;
317317}
318318
@@ -366,7 +366,7 @@ fn updated_externally() {
366366
367367 fs:: write ( ctx. dir . join ( "a" ) , "test\n " ) . unwrap ( ) ;
368368
369- ctx. update ( & mut app, keys ( "g " ) ) ;
369+ ctx. update ( & mut app, keys ( "gr " ) ) ;
370370 insta:: assert_snapshot!( ctx. redact_buffer( ) ) ;
371371}
372372
@@ -443,7 +443,7 @@ fn crlf_diff() {
443443
444444 commit ( & ctx. dir , "crlf.txt" , "unchanged\r \n unchanged\r \n " ) ;
445445 fs:: write ( ctx. dir . join ( "crlf.txt" ) , "unchanged\r \n changed\r \n " ) . unwrap ( ) ;
446- ctx. update ( & mut app, keys ( "g " ) ) ;
446+ ctx. update ( & mut app, keys ( "gr " ) ) ;
447447
448448 insta:: assert_snapshot!( ctx. redact_buffer( ) ) ;
449449}
@@ -455,7 +455,7 @@ fn tab_diff() {
455455
456456 commit ( & ctx. dir , "tab.txt" , "this has no tab prefixed\n " ) ;
457457 fs:: write ( ctx. dir . join ( "tab.txt" ) , "\t this has a tab prefixed\n " ) . unwrap ( ) ;
458- ctx. update ( & mut app, keys ( "g " ) ) ;
458+ ctx. update ( & mut app, keys ( "gr " ) ) ;
459459
460460 insta:: assert_snapshot!( ctx. redact_buffer( ) ) ;
461461}
@@ -471,7 +471,7 @@ fn non_utf8_diff() {
471471 b"File with invalid UTF-8: \xff \xfe \n " ,
472472 )
473473 . unwrap ( ) ;
474- ctx. update ( & mut app, keys ( "g " ) ) ;
474+ ctx. update ( & mut app, keys ( "gr " ) ) ;
475475
476476 insta:: assert_snapshot!( ctx. redact_buffer( ) ) ;
477477}
@@ -486,7 +486,7 @@ fn ext_diff() {
486486 run ( & ctx. dir , & [ "git" , "add" , "-N" , "unstaged.txt" ] ) ;
487487 run ( & ctx. dir , & [ "git" , "add" , "staged.txt" ] ) ;
488488 run ( & ctx. dir , & [ "git" , "config" , "diff.external" , "/dev/null" ] ) ;
489- ctx. update ( & mut app, keys ( "g " ) ) ;
489+ ctx. update ( & mut app, keys ( "gr " ) ) ;
490490
491491 insta:: assert_snapshot!( ctx. redact_buffer( ) ) ;
492492}
0 commit comments