File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const expectFinishFeatureSuccess = function expectFinishFeatureSuccess(featureBr
3232
3333 if ( ! keepBranch ) {
3434 return promise . catch ( ( err ) => {
35- expect ( err . message ) . toBe ( `Cannot locate local branch '${ featureBranch . shorthand ( ) } '` ) ;
35+ expect ( err . message . toLowerCase ( ) ) . toBe ( `cannot locate local branch '${ featureBranch . shorthand ( ) . toLowerCase ( ) } '` ) ;
3636 } ) ;
3737 }
3838
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const expectFinishHotfixSuccess = function expectFinishHotfixSuccess(
5656 if ( ! keepBranch ) {
5757 return promise
5858 . catch ( ( err ) => {
59- expect ( err . message ) . toBe ( `Cannot locate local branch '${ hotfixBranch . shorthand ( ) } '` ) ;
59+ expect ( err . message . toLowerCase ( ) ) . toBe ( `cannot locate local branch '${ hotfixBranch . shorthand ( ) . toLowerCase ( ) } '` ) ;
6060 } ) ;
6161 }
6262
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const expectFinishReleaseSuccess = function expectFinishReleaseSuccess(
5656 if ( ! keepBranch ) {
5757 return promise
5858 . catch ( ( err ) => {
59- expect ( err . message ) . toBe ( `Cannot locate local branch '${ releaseBranch . shorthand ( ) } '` ) ;
59+ expect ( err . message . toLowerCase ( ) ) . toBe ( `cannot locate local branch '${ releaseBranch . shorthand ( ) . toLowerCase ( ) } '` ) ;
6060 } ) ;
6161 }
6262
You can’t perform that action at this time.
0 commit comments