File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -667,7 +667,7 @@ describe("Rebase", function() {
667667 "There should not be a rebase in progress" ) ;
668668 } )
669669 . catch ( function ( e ) {
670- assert . equal ( e . message , "There is no rebase in progress" ) ;
670+ assert . equal ( e . message , "there is no rebase in progress" ) ;
671671 } ) ;
672672 } )
673673 . then ( function ( ) {
Original file line number Diff line number Diff line change @@ -388,13 +388,8 @@ describe("Remote", function() {
388388 // catches linux / osx failure to use anonymous credentials
389389 // stops callback infinite loop
390390 . catch ( function ( reason ) {
391- if ( reason . message !==
392- "Method push has thrown an error." )
393- {
394- throw reason ;
395- } else {
396- return Promise . resolve ( ) ;
397- }
391+ assert . equal ( reason . message . replace ( / \n | \r / g, "" ) ,
392+ "failed to set credentials: The parameter is incorrect." ) ;
398393 } ) ;
399394 } ) ;
400395
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ describe("Revparse", function() {
3737 } )
3838 . catch ( function ( error ) {
3939 assert . ok ( error instanceof Error ) ;
40- assert . equal ( error . message , "Revspec 'INVALID' not found. " ) ;
40+ assert . equal ( error . message , "revspec 'INVALID' not found" ) ;
4141 } ) ;
4242 } ) ;
4343
You can’t perform that action at this time.
0 commit comments